Skip to content

Commit e7d634b

Browse files
authored
Bump codeql-action@v4 (#1222)
* Bump codeql-action@v4 * Added dev to codeql
1 parent 438c113 commit e7d634b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CodeQL
22

33
on:
44
push:
5-
branches: [main, release/*]
5+
branches: [dev, main, release/*]
66
schedule:
77
- cron: 30 1 1,15 * * # At 01:30 UTC on the 1st and 15th of every month
88

@@ -11,7 +11,7 @@ jobs:
1111
name: Analyze
1212
runs-on: ubuntu-latest
1313
container:
14-
image: ghcr.io/azure/azure-osconfig/ubuntu20.04-amd64
14+
image: ghcr.io/azure/azure-osconfig/ubuntu-22.04-amd64@sha256:0eed71cef37604c37186ec035974168a40a84d27e26d3b746a2858d99f305e2e
1515
permissions:
1616
actions: read
1717
contents: read
@@ -34,7 +34,7 @@ jobs:
3434
if: matrix.language == 'csharp'
3535

3636
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v2
37+
uses: github/codeql-action/init@v4
3838
with:
3939
languages: ${{ matrix.language }}
4040

@@ -44,12 +44,12 @@ jobs:
4444
- name: Generate build
4545
if: matrix.language == 'cpp'
4646
working-directory: build
47-
run: cmake ../src -DCMAKE_build-type=Release -Duse_prov_client=ON -Dhsm_type_symm_key=ON -DCOMPILE_WITH_STRICTNESS=ON -DBUILD_TESTS=OFF -DBUILD_SAMPLES=ON -DBUILD_ADAPTERS=ON -G Ninja
47+
run: cmake ../src -DCMAKE_build-type=Release -Duse_prov_client=ON -Dhsm_type_symm_key=ON -DCOMPILE_WITH_STRICTNESS=ON -DBUILD_TESTS=OFF -DBUILD_SAMPLES=ON -DBUILD_ADAPTERS=ON
4848

4949
- name: Build azure-osconfig
5050
if: matrix.language == 'cpp'
5151
working-directory: build
52-
run: cmake --build . --config Release
52+
run: cmake --build . --config Release --parallel
5353

5454
- name: Setup dotnet
5555
if: matrix.language == 'csharp'
@@ -59,9 +59,9 @@ jobs:
5959

6060
- name: Autobuild
6161
if: matrix.language == 'csharp'
62-
uses: github/codeql-action/autobuild@v2
62+
uses: github/codeql-action/autobuild@v4
6363

6464
- name: Perform CodeQL Analysis
65-
uses: github/codeql-action/analyze@v2
65+
uses: github/codeql-action/analyze@v4
6666
with:
6767
category: '/language:${{matrix.language}}'

0 commit comments

Comments
 (0)