Skip to content

Commit 006bb56

Browse files
committed
chore(gh): update release workflow
- Updates `actions/checkout` to v4.2.2. - Updates `actions/setup-go` to v5.4.0. - Updates `golangci/golangci-lint-action` to v6.5.2. - Updates `golangci/golangci-lint-action` to use `golangci-lint` v1.64.8 to match `golangci-lint.yml`. - Removes `skip-pkg-cache` and `skip-build-cache` options that were removed April 2024 in `golangci/golangci-lint-action` v5.0.0 asinc ethe cache management is handled in `actions/setup-go`. Ref: https://github.com/golangci/golangci-lint-action/releases/tag/v5.0.0 Signed-off-by: Ryan Johnson <[email protected]>
1 parent a88d95f commit 006bb56

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

Diff for: .github/workflows/release.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Release
23

34
on:
@@ -9,32 +10,29 @@ permissions:
910
contents: write
1011

1112
jobs:
12-
goreleaser:
13+
release:
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Checkout
16-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1718
with:
1819
fetch-depth: 0
1920
- name: Setup Go
20-
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
21+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2122
with:
22-
go-version-file: 'go.mod'
23+
go-version-file: go.mod
2324
- name: golangci-lint
24-
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
25+
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
2526
with:
26-
version: v1.61
27-
args: --issues-exit-code=1 --timeout=30m
28-
skip-pkg-cache: true
29-
skip-build-cache: true
27+
version: v1.64.8
28+
args: --issues-exit-code=1 --timeout=10m
3029
- name: Import GPG Key
3130
id: import_gpg
3231
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
3332
with:
3433
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3534
passphrase: ${{ secrets.GPG_PASSPHRASE }}
36-
-
37-
name: Run GoReleaser
35+
- name: Run GoReleaser
3836
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
3937
with:
4038
version: latest

0 commit comments

Comments
 (0)