@@ -2,7 +2,7 @@ name: CodeQL
22
33on :
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
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
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'
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