diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b2ed59b..b78c074 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,16 +21,16 @@ jobs: name: Lints runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: cache-dependency-path: './go.sum' check-latest: true go-version: ${{ env.GO_VERSION }} - name: golangci-lint - uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 + uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: version: latest args: -v -c .golangci.yaml @@ -39,10 +39,10 @@ jobs: name: Security Audits runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: cache-dependency-path: './go.sum' check-latest: true @@ -55,11 +55,11 @@ jobs: name: Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: cache-dependency-path: './go.sum' check-latest: true @@ -75,7 +75,7 @@ jobs: name: Shellcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Run ShellCheck uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 #2.0.0 @@ -84,10 +84,10 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') != true runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: cache-dependency-path: './go.sum' check-latest: true @@ -100,18 +100,18 @@ jobs: shell: bash - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: cache-dependency-path: './go.sum' check-latest: true go-version: ${{ env.GO_VERSION }} - - uses: anchore/sbom-action/download-syft@61119d458adab75f756bc0b9e4bde25725f86a7a # v0.17.2 + - uses: anchore/sbom-action/download-syft@1ca97d9028b51809cf6d3c934c3e160716e1b605 # v0.17.5 - name: Run GoReleaser uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 @@ -139,12 +139,12 @@ jobs: shell: bash - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: cache-dependency-path: './go.sum' check-latest: true @@ -156,8 +156,8 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0 - - uses: anchore/sbom-action/download-syft@61119d458adab75f756bc0b9e4bde25725f86a7a # v0.17.2 + - uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0 + - uses: anchore/sbom-action/download-syft@1ca97d9028b51809cf6d3c934c3e160716e1b605 # v0.17.5 - name: Run GoReleaser id: goreleaser @@ -271,7 +271,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Install Cosign - uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0 + uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0 - name: Verify image env: diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 1389419..0e9d6ac 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -15,7 +15,7 @@ jobs: image: returntocorp/semgrep if: (github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot') steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.5.4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.5.4 with: fetch-depth: 0 - run: semgrep ci --no-suppress-errors