Skip to content

Commit

Permalink
ci(github-actions): add a config file for golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Aug 14, 2023
1 parent bf78413 commit cc5f424
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ jobs:
- name: Run linters
uses: golangci/golangci-lint-action@v3
with:
version: v1.52
args: --enable=golint --enable=godot --timeout=3m
version: v1.53
15 changes: 15 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Options for analysis running.
run:
timeout: 5m
skip-dirs:
- .git
linters:
enable:
- revive
- godot
linters-settings:
revive:
rules:
- name: blank-imports
severity: warning
disabled: true

0 comments on commit cc5f424

Please sign in to comment.