Skip to content

Commit 490ede4

Browse files
committed
ci: refine Go project CI/CD workflows
- Update golangci-lint-action to version 5 in go.yml workflow - Change goreleaser argument from `--rm-dist` to `--clean` in goreleaser.yml workflow Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 4bbe0b8 commit 490ede4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
go-version-file: "go.mod"
2020
check-latest: true
2121
- name: Setup golangci-lint
22-
uses: golangci/golangci-lint-action@v4
22+
uses: golangci/golangci-lint-action@v5
2323
with:
2424
version: latest
2525
args: --verbose

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
# either 'goreleaser' (default) or 'goreleaser-pro'
2727
distribution: goreleaser
2828
version: latest
29-
args: release --rm-dist
29+
args: release --clean
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)