CodeQL bundle pre-release from: https://github.com/dsp-testing/codeql-cli-nightlies/releases
Last active
May 24, 2024 11:20
-
-
Save felickz/63fb864f68f5cb3176c01ee78c04a5ce to your computer and use it in GitHub Desktop.
CodeQL Nightlies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- pwsh: | | |
$scriptUrl = "https://raw.githubusercontent.com/microsoft/GHAzDO-Resources/codeql-windows-nightlies/src/agent-setup/codeql-install-windows.ps1" | |
$scriptPath = "codeql-install-windows.ps1" | |
Invoke-WebRequest -Uri $scriptUrl -OutFile $scriptPath | |
& ./$scriptPath -UseNightlies $true | |
displayName: 'install nightlies of codeql' | |
- task: AdvancedSecurity-Codeql-Init@1 | |
inputs: | |
languages: 'csharp' | |
querysuite: 'code-scanning' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: | |
#Controls whether to check the responsiveness of NuGet feeds. | |
CODEQL_EXTRACTOR_CSHARP_BUILDLESS_NUGET_FEEDS_CHECK: 'true' | |
...more yaml steps here... | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
build-mode: ${{ matrix.build-mode }} | |
#C# Buildless fix - URL of CodeQL bundle pre-release from: https://github.com/dsp-testing/codeql-cli-nightlies/releases | |
tools: https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-20240425/codeql-bundle-linux64.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment