We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1bd63b commit 2706df0Copy full SHA for 2706df0
.github/workflows/codeql.yaml
@@ -0,0 +1,33 @@
1
+name: codeql
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+env:
9
+ GO_VERSION: "1.16.4"
10
11
+jobs:
12
+ analyze:
13
+ runs-on: ubuntu-latest
14
+ if: "!contains(github.event.head_commit.message, '[ci skip]')"
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v2
18
19
+ - name: Set up Go
20
+ uses: actions/setup-go@v2
21
+ with:
22
+ go-version: ${{ env.GO_VERSION }}
23
24
+ - name: Initialize CodeQL
25
+ uses: github/codeql-action/init@v1
26
27
+ languages: go
28
29
+ - name: Build binary
30
+ run: make build
31
32
+ - name: Perform CodeQL Analysis
33
+ uses: github/codeql-action/analyze@v1
0 commit comments