10000 ci: add static-check test · go-python/gpython@04963cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 04963cf

Browse files
committed
ci: add static-check test
Signed-off-by: Sebastien Binet <binet@cern.ch>
1 parent 029a195 commit 04963cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ jobs:
9090
if: matrix.platform == 'macos-latest'
9191
run: |
9292
go run ./ci/run-tests.go $TAGS -race
93+
- name: static-check
94+
uses: dominikh/staticcheck-action@v1.2.0
95+
with:
96+
install-go: false
97+
cache-key: ${{ matrix.platform }}
98+
version: "2022.1"
9399
- name: Upload-Coverage
94100
if: matrix.platform == 'ubuntu-latest'
95101
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)
0