Skip to content

Commit

Permalink
Merge pull request rook#13670 from BlaineEXE/ci-add-gofmt-check
Browse files Browse the repository at this point in the history
ci: check for gofmt usage in golangci-lint
  • Loading branch information
BlaineEXE authored Feb 1, 2024
2 parents 60d6fe5 + c98ce0a commit 21a99f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
# working-directory: somedir

# Optional: golangci-lint command line arguments.
args: -E gosec --timeout=10m
args: -E gosec -E gofmt --timeout=10m

# actions/setup-go already handles caching
skip-cache: true

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
Expand Down

0 comments on commit 21a99f3

Please sign in to comment.