update codeql action to v3 (#2822)
This commit is contained in:
parent
5c83695177
commit
bdecf38616
1 changed files with 7 additions and 8 deletions
15
.github/workflows/codeql-analysis.yml
vendored
15
.github/workflows/codeql-analysis.yml
vendored
|
@ -48,10 +48,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# required to pick up tags for BUILD_VERSION
|
# required to pick up tags for BUILD_VERSION
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: "Set up Go"
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.21.6"
|
||||||
|
cache-dependency-path: "**/go.sum"
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
@ -71,14 +76,8 @@ jobs:
|
||||||
# and modify them (or add more) to build your code if your project
|
# and modify them (or add more) to build your code if your project
|
||||||
# uses a compiled language
|
# uses a compiled language
|
||||||
|
|
||||||
- name: "Set up Go"
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: "1.21.6"
|
|
||||||
cache-dependency-path: "**/go.sum"
|
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
make clean build BUILD_RE2_WASM=1
|
make clean build BUILD_RE2_WASM=1
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
|
|
Loading…
Reference in a new issue