diff --git a/.github/workflows/covbadge.yml b/.github/workflows/covbadge.yml index b4ca2d7..618a49d 100644 --- a/.github/workflows/covbadge.yml +++ b/.github/workflows/covbadge.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - name: 'Set up Go' - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version: '1.26' diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1b6ffd0..6471ced 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - name: 'Set up Go' - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - name: 'Set up Go' - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 8c77efd..70f7297 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: go.mod diff --git a/action.yml b/action.yml index fcae98c..e34a1dd 100644 --- a/action.yml +++ b/action.yml @@ -56,14 +56,14 @@ runs: - name: 'Restore cached built binary' id: buildcache if: steps.resolve.outputs.release-version == '' - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ steps.resolve.outputs.bin }} key: codeowners-plus-build-${{ github.action_ref || github.sha }}-${{ runner.os }}-${{ runner.arch }} - name: 'Set up Go' if: steps.resolve.outputs.release-version == '' && steps.buildcache.outputs.cache-hit != 'true' - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 with: go-version-file: ${{ steps.resolve.outputs.action-path }}/go.mod cache-dependency-path: ${{ steps.resolve.outputs.action-path }}/go.sum @@ -85,7 +85,7 @@ runs: - name: 'Restore cached release binary' id: bincache if: steps.resolve.outputs.release-version != '' - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ steps.resolve.outputs.bin }} key: codeowners-plus-action-${{ steps.resolve.outputs.release-version }}-${{ runner.os }}-${{ runner.arch }}