Skip to content

Commit ad2375c

Browse files
committed
.github: add a staticcheck action
Add a staticcheck step to the lint job of the Test workflow. Fixes #281
1 parent 461db2c commit ad2375c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
echo "All Go files are properly formatted"
3131
- name: Run Go vet
3232
run: go vet ./...
33+
- name: Run staticcheck
34+
uses: dominikh/staticcheck-action@v1
35+
with:
36+
version: "latest"
3337

3438
test:
3539
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)