ci: simplify codeql worfklow
galargh committed
Mar 2, 2023 at 10:27 UTC
d45d8ecdad5600b72afc5da8591504b49a94c3aa
2 files changed
+1
-10
.github/workflows/codeql-analysis.yml
+1
-9
@@ -21,14 +21,6 @@ jobs:
21
runs-on: ubuntu-latest
22
timeout-minutes: 20
23
24
- strategy:
25
- fail-fast: false
26
- matrix:
27
- language: [ 'go' ]
28
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
29
- # Learn more:
30
- # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
31
-
24
steps:
25
- name: Checkout repository
26
uses: actions/checkout@v2
@@ -37,7 +29,7 @@ jobs:
29
- name: Initialize CodeQL
30
uses: github/codeql-action/init@v2
31
with:
40
- languages: ${{ matrix.language }}
32
+ languages: go
33
34
- name: Autobuild
35
uses: github/codeql-action/autobuild@v2
.github/workflows/golang-analysis.yml
-1
@@ -15,7 +15,6 @@ jobs:
15
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
16
runs-on: ubuntu-latest
17
timeout-minutes: 10
18
- name: All
18
steps:
19
- uses: actions/checkout@v2
20
with: