mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 16:44:01 +08:00
staticcheck action
This commit is contained in:
parent
d7415c8c46
commit
5f9f191b35
1 changed files with 2 additions and 9 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -87,12 +87,5 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Setup Go
|
- name: static check
|
||||||
uses: actions/setup-go@v2
|
uses: dominikh/staticcheck-action@v1.2.0
|
||||||
with:
|
|
||||||
go-version: 1.18
|
|
||||||
- name: static checks
|
|
||||||
run: |
|
|
||||||
go install honnef.co/go/tools/cmd/staticcheck
|
|
||||||
go mod download honnef.co/go/tools
|
|
||||||
staticcheck ./...
|
|
||||||
|
|
Loading…
Reference in a new issue