Skip to content

Commit

Permalink
ci: add staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalcaliskan committed Jul 17, 2023
1 parent 99c3c59 commit 036e003
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ jobs:
- name: Run ${{ matrix.name }} tests
run: make -s test-${{ matrix.name }}

staticcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: dominikh/[email protected]
with:
version: "2022.1.3"

codeql:
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
- name: Clean downloaded binaries
run: make -s clean

staticcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: dominikh/[email protected]
with:
version: "2022.1.3"

codeql:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -119,6 +128,7 @@ jobs:
- lint
- fmt
- tests
- staticcheck
- codeql
- sonarcloud
- builds
Expand Down

0 comments on commit 036e003

Please sign in to comment.