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 f5d35a3 commit 2542aa1Copy full SHA for 2542aa1
.github/workflows/codeql.yml
@@ -1,4 +1,4 @@
1
-name: CodeQL
+name: "CodeQL"
2
3
on:
4
push:
@@ -15,24 +15,22 @@ jobs:
15
name: Analyze
16
runs-on: ubuntu-20.04
17
18
+ permissions:
19
+ actions: read
20
+ contents: read
21
+ security-events: write
22
+
23
strategy:
24
fail-fast: false
25
26
steps:
- - name: Checkout code
- uses: actions/checkout@main
- with:
- fetch-depth: 2
-
27
- - name: Install Go
28
- uses: actions/setup-go@main
29
30
- go-version: 1.16.x
+ - name: Checkout repository
+ uses: actions/checkout@v2
31
32
- name: Initialize CodeQL
33
uses: github/codeql-action/init@v1
34
with:
35
- languages: go
+ languages: 'go'
36
37
- name: Perform CodeQL Analysis
38
uses: github/codeql-action/analyze@v1
0 commit comments