Skip to content

Commit

Permalink
ci: pin workflow actions to commit shas
Browse files Browse the repository at this point in the history
  • Loading branch information
sobi3ch committed May 19, 2022
1 parent 1f6825d commit f0f8565
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -12,12 +12,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2
with:
go-version: 1.18

- uses: actions/cache@v3
- uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: |
~/.cache/go-build
Expand All @@ -40,12 +40,12 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/setup-go@fcdc43634adb5f7ae75a9d7a9b9361790f7293e2
with:
go-version: 1.18

- uses: actions/cache@v3
- uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: |
~/.cache/go-build
Expand All @@ -57,12 +57,12 @@ jobs:

- name: Import GPG key
id: import_gpg
uses: hashicorp/ghaction-import-gpg@v2.1.0
uses: hashicorp/ghaction-import-gpg@78437f97569a473e42b227be84d4084c2dfb49ba # v2.1.0
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}

- uses: goreleaser/goreleaser-action@v2
- uses: goreleaser/goreleaser-action@b953231f81b8dfd023c58e0854a721e35037f28b # v2.9.1
with:
version: latest
args: release --rm-dist
Expand Down

0 comments on commit f0f8565

Please sign in to comment.