Skip to content

fix(protections): revert control flow SwitchMangler logic inversion #7

fix(protections): revert control flow SwitchMangler logic inversion

fix(protections): revert control flow SwitchMangler logic inversion #7

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [master, release/*]
pull_request:
branches: [master]
schedule:
- cron: "26 4 * * 0"
permissions:
contents: read
security-events: write
pull-requests: read
actions: read
jobs:
analyze:
name: Analyze
runs-on: windows-2022
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Install .NET 4.6.1 targeting pack
shell: pwsh
run: |
$url = 'https://download.microsoft.com/download/F/1/D/F1DEB8DB-D277-4EF9-9F48-3A65D4D8F965/NDP461-DevPack-KB3105179-ENU.exe'
$installer = "$env:TEMP\ndp461-devpack.exe"
Invoke-WebRequest -Uri $url -OutFile $installer -UseBasicParsing
Start-Process -FilePath $installer -ArgumentList '/quiet','/norestart' -Wait
- name: Restore
run: msbuild Confuser2.sln -t:Restore -verbosity:minimal
- name: Build
run: msbuild Confuser2.sln -p:Configuration=Release -verbosity:minimal
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3