Skip to content

Commit bcf81c7

Browse files
authored
Pin GitHub Action versions (#119)
Run `pinact run` with v1.4.0
1 parent ebe46d1 commit bcf81c7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
os: [ubuntu-latest, windows-latest]
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
- name: Set up Go
24-
uses: actions/setup-go@v5
24+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2525
with:
2626
go-version-file: 'go.mod'
2727
- name: Run tests

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
- name: Set up Go
22-
uses: actions/setup-go@v5
22+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2323
with:
2424
go-version-file: 'go.mod'
2525
- name: Import GPG key
2626
id: import_gpg
27-
uses: crazy-max/ghaction-import-gpg@v6
27+
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
2828
with:
2929
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3030
passphrase: ${{ secrets.PASSPHRASE }}
3131
- name: Run GoReleaser
32-
uses: goreleaser/goreleaser-action@v6
32+
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
3333
with:
3434
version: latest
3535
args: release
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
39-
- uses: actions/attest-build-provenance@v2
39+
- uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
4040
with:
4141
subject-path: 'dist/checksums.txt'

0 commit comments

Comments
 (0)