Skip to content

Commit

Permalink
Add golangci-lint for static check.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzheng2020 committed Apr 14, 2024
1 parent 42e9213 commit 0e3dcb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2 # So we can do git diff HEAD~1
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v3
Expand All @@ -20,3 +21,9 @@ jobs:
- name: Test All
run: |
make test
- name: Run golangci-lint
uses: golangci/[email protected]
with:
only-new-issues: true
skip-pkg-cache: true
skip-build-cache: true

0 comments on commit 0e3dcb7

Please sign in to comment.