diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2db55b1..80154f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,9 +36,9 @@ jobs: # Third-party actions are pinned by SHA, with the tag in a trailing # comment so the version is still readable. A tag is a moving reference: # whoever can move it can run code in this job. - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: # Read from go.mod rather than pinned here, so the version lives in # one place and a bump cannot leave CI testing the old one. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9ab11e..875ced2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: id-token: write # OIDC identity for build provenance attestations: write # record the provenance attestation steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # The version arithmetic below reads the tag history. A shallow clone # does not have it. @@ -78,7 +78,7 @@ jobs: echo "version=$version" >> "$GITHUB_OUTPUT" echo "tag=$tag" >> "$GITHUB_OUTPUT" - - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache-dependency-path: go.sum @@ -104,7 +104,7 @@ jobs: # and this commit, and `gh attestation verify` checks that against a # public transparency log. - name: Attest build provenance - uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2 + uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1 with: subject-path: dist/*.tar.gz