generated from bilalcaliskan/golang-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99c3c59
commit 036e003
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -119,6 +128,7 @@ jobs: | |
- lint | ||
- fmt | ||
- tests | ||
- staticcheck | ||
- codeql | ||
- sonarcloud | ||
- builds | ||
|