Skip to content

Commit d20283d

Browse files
committed
fix
1 parent 778bf54 commit d20283d

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/codeql.yaml

+7-17
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,27 @@ on:
1515
env:
1616
CODEQL_EXTRACTOR_GO_BUILD_TRACING: 'on'
1717

18+
permissions:
19+
security-events: write
20+
1821
jobs:
19-
analyze:
20-
name: Analyze
22+
analyze-go:
23+
name: Analyze Go
2124
runs-on: ubuntu-latest
22-
permissions:
23-
security-events: write
24-
strategy:
25-
fail-fast: false
26-
matrix:
27-
include:
28-
- language: go
29-
build-mode: none
30-
- language: javascript-typescript
31-
build-mode: autobuild
3225
steps:
3326
- uses: actions/checkout@v4
3427
- uses: actions/setup-go@v5
3528
with:
3629
go-version: '1.23'
37-
if: ${{ matrix.language == 'go' }}
3830
- uses: github/codeql-action/init@v3
3931
with:
4032
config-file: ./.github/codeql/codeql-config.yaml
41-
languages: ${{ matrix.language }}
42-
build-mode: ${{ matrix.build-mode }}
33+
languages: go
4334
- name: Build Go sources
4435
run: |
4536
set -x
4637
go build -v ./cmd/actionlint
4738
GOOS=js GOARCH=wasm go build -v -o ./playground/main.wasm ./playground
48-
if: ${{ matrix.language == 'go' }}
4939
- uses: github/codeql-action/analyze@v3
5040
with:
51-
category: "/language:${{matrix.language}}"
41+
category: "/language:go"

0 commit comments

Comments
 (0)