Skip to content

Commit

Permalink
feat(ci): add govulncheck to make lint and lint ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey committed May 30, 2024
1 parent 2474a20 commit 544d9c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: celestiaorg/.github/.github/actions/[email protected]

govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.22.1
go-package: ./...
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ lint: vet
@yamllint --no-warnings . -c .yamllint.yml
@echo "--> Running actionlint"
@actionlint
@echo "--> Running govulncheck"
@govulncheck ./...
@echo "--> Running golangci-lint"
@golangci-lint run
.PHONY: lint
Expand Down

0 comments on commit 544d9c9

Please sign in to comment.