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 28, 2023
1 parent f3de4cb commit ed38a35
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/[email protected]
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 ed38a35

Please sign in to comment.