Skip to content

Commit

Permalink
ci: add static check
Browse files Browse the repository at this point in the history
  • Loading branch information
wdvxdr1123 committed Apr 4, 2022
1 parent e2a42e5 commit 03f3d34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/goimports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
GO111MODULE=off go get golang.org/x/tools/cmd/goimports
goimports -l -w ./
- name: Static Check
uses: dominikh/staticcheck-action@v1.2.0
with:
install-go: false
version: "2022.1"

- name: Commit back
if: github.repository_owner == 'Mrs4s'
continue-on-error: true
Expand Down

0 comments on commit 03f3d34

Please sign in to comment.