Skip to content

Commit

Permalink
ci: attempt to disable all linter but gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wildanie12 committed Feb 10, 2024
1 parent aa9b86f commit 42e029f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/golang_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.0
args: --disable-all -E gofmt
args: --disable-all -E gofmt --print-linter-name
skip-build-cache: true
- name: run test
run: go test ./...
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
run:
go: 1.19
timeout: 10m
linters:
disable-all: true
enable:
- gofmt

0 comments on commit 42e029f

Please sign in to comment.