Skip to content

Commit

Permalink
chore(gh): update release
Browse files Browse the repository at this point in the history
- Correct formatting.
- Pin GitHub Actions to release commit SHA.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Oct 14, 2024
1 parent 06f31a3 commit 1ce748d
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,30 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
-
name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.61
args: --issues-exit-code=1 --timeout=30m
skip-pkg-cache: true
skip-build-cache: true
-
name: Import GPG key
- name: Import GPG Key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY2 }}
passphrase: ${{ secrets.GPG_PASSPHRASE2 }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
version: latest
args: release --clean --timeout 60m --release-header-tmpl .goreleaser.tmpl
Expand Down

0 comments on commit 1ce748d

Please sign in to comment.