Skip to content

Commit

Permalink
lint: add govulncheck and deadcode (#2)
Browse files Browse the repository at this point in the history
matthewdargan authored Dec 17, 2023

Verified

This commit was signed with the committer’s verified signature.
henrikvtcodes Henrik VT
1 parent bbf0af6 commit c9da1c1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -21,6 +21,17 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: "1.21"
check-latest: true
- name: deadcode
uses: lost-coders/[email protected]
with:
go-version: "1.21"
check-latest: true
flags: "-test"
test:
runs-on: ubuntu-latest
steps:

0 comments on commit c9da1c1

Please sign in to comment.