Skip to content

Commit

Permalink
update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmoraisjr committed Jun 3, 2024
1 parent 8f855cc commit c486d50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
go-version: 1.19.13
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
- name: Run build
run: go build -o haproxy-ingress pkg/main.go
- name: Run tests
Expand Down
8 changes: 3 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
run:
deadline: 5m
skip-dirs:
timeout: 5m
issues:
exclude-dirs:
- pkg/acme/x
- pkg/common

linters:
disable-all: true
enable:
Expand All @@ -14,7 +14,5 @@ linters:
- ineffassign
- misspell
- staticcheck
- structcheck
- typecheck
- unconvert
- varcheck

0 comments on commit c486d50

Please sign in to comment.