mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 08:34:47 +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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
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 ./...
|
||||
- name: static check
|
||||
uses: dominikh/staticcheck-action@v1.2.0
|
||||
|
|
Loading…
Reference in a new issue