Skip to content

Commit

Permalink
Update Go and golangci-lint for lint CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Nov 27, 2023
1 parent a81e5aa commit 7b135b8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: golangci-lint

# Long living branches and all PRs
on:
push:
branches:
- master
- main
pull_request:

Expand All @@ -19,15 +20,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21.4'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.6.0
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.53
version: v1.55.2

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down

0 comments on commit 7b135b8

Please sign in to comment.