diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2787e61..c256fea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 with: go-version-file: go.mod - run: test -z "$(gofmt -l .)" @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 with: go-version-file: go.mod - run: make reproducible VERSION=v0.0.0-ci @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 with: go-version-file: go.mod - run: make integration @@ -105,12 +105,12 @@ jobs: fetch-depth: 0 # the history of main, for the check below - name: the tagged commit is on main run: git merge-base --is-ancestor HEAD origin/main || { echo "the tag does not point to a commit of main"; exit 1; } - - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 with: go-version-file: go.mod cache: false # no cache from other runs in a release build - id: syft - uses: anchore/sbom-action/download-syft@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3 + uses: anchore/sbom-action/download-syft@dfcb83b97731532d72be422cbc51ee64adb6fd56 # v0.24.4 with: syft-version: v1.57.0 - run: make release-check binaries sbom checksums SYFT="$SYFT_CMD" TOOL_DIST=dist @@ -146,7 +146,7 @@ jobs: with: subject-checksums: dist/SHA256SUMS - if: vars.SIGN == 'cosign' - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 + uses: sigstore/cosign-installer@881c63bd87e38389154debd8331404ce7ca8a3ab # v4.1.4 with: cosign-release: v3.1.4 - if: vars.SIGN == 'cosign' @@ -182,7 +182,7 @@ jobs: echo "REQUIRE_SIGNATURE=1 and no signature"; exit 1 fi - if: vars.SIGN == 'cosign' - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 + uses: sigstore/cosign-installer@881c63bd87e38389154debd8331404ce7ca8a3ab # v4.1.4 with: cosign-release: v3.1.4 - name: the signature is this workflow's, for this tag