src/rufus: Prevent assertion failure if START is clicked while image_path is NULL #481
Workflow file for this run
This file contains hidden or 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
| name: "CodeQL" | |
| on: | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - '.github/ISSUE_TEMPLATE/**' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'res/**' | |
| - '**.cmd' | |
| - '**.md' | |
| - '**.rc' | |
| - '**.sh' | |
| - '**.txt' | |
| - '**.xml' | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'res/**' | |
| - '**.cmd' | |
| - '**.md' | |
| - '**.rc' | |
| - '**.sh' | |
| - '**.txt' | |
| - '**.xml' | |
| env: | |
| SOLUTION_FILE_PATH: ./rufus.sln | |
| BUILD_CONFIGURATION: Release | |
| TARGET_PLATFORM: x64 | |
| jobs: | |
| CodeQL-Build: | |
| runs-on: windows-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: cpp | |
| - name: Add MSBuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| with: | |
| msbuild-architecture: x64 | |
| - name: Build | |
| run: msbuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=${{ env.BUILD_CONFIGURATION}},Platform=${{ env.TARGET_PLATFORM }} | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |