Skip to content

Commit

Permalink
CI: Fix CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardopirovano committed Sep 20, 2022
1 parent 475867b commit c61c5f4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: windows-2019 #windows-lates ubuntu-latest
runs-on: windows-2022
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -64,13 +64,10 @@ jobs:
dotnet-version: 7.0.100-rc.1.22431.12

- name: Restore the ReaLTaiizor
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }} -p:UseSharedCompilation=true
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }} -p:UseSharedCompilation=false

- name: Build the ReaLTaiizor
run: dotnet build ${{ matrix.solution }} -c ${{ matrix.configuration }} -p:UseSharedCompilation=true --no-restore /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0618,CS0649,CS8632,CA1416,NU5104,NETSDK1138,SYSLIB0003

- name: Test the ReaLTaiizor
run: dotnet test ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-build --verbosity normal
run: dotnet build ${{ matrix.solution }} -c ${{ matrix.configuration }} -p:UseSharedCompilation=false --no-restore /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0618,CS0649,CS8632,CA1416,NU5104,NETSDK1138,SYSLIB0003

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
Expand Down

0 comments on commit c61c5f4

Please sign in to comment.