Skip to content

Commit

Permalink
fix golang-ci lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
haad committed May 8, 2024
1 parent 0a1f4f0 commit 190c52a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6 # https://github.com/marketplace/actions/run-golangci-lint
with:
version: v1.58.0
version: latest
3 changes: 2 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
linters:
enable:
- megacheck
- gosimple
- staticcheck,
- govet

- asciicheck
Expand Down

0 comments on commit 190c52a

Please sign in to comment.