Skip to content

Commit

Permalink
ci: use the golangci-lint make target in the lint workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Adam <[email protected]>
  • Loading branch information
obnoxxx committed Jan 14, 2025
1 parent 9eb93c1 commit 1f9a737
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,8 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.63

# Optional: golangci-lint command line arguments.
args: --config=.golangci.yml

# actions/setup-go already handles caching
skip-cache: true
- name: run golangci-lint
run: make golangci-lint

govulncheck:
name: govulncheck
Expand Down

0 comments on commit 1f9a737

Please sign in to comment.