diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78716ca..1af9382 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,7 @@ jobs: - name: GendarmeAnalysis run: | nuget install mono.gendarme -ExcludeVersion -OutputDirectory tools - ./tools/Mono.Gendarme/tools/gendarme.exe --xml GendarmeReport.xml --ignore gendarme.ignore .\src\NVika\bin\Release\net6.0\NVika.exe + ./tools/Mono.Gendarme/tools/gendarme.exe --xml GendarmeReport.xml --ignore gendarme.ignore .\src\NVika\bin\Release\net8.0\NVika.exe - uses: actions/upload-artifact@v4 with: @@ -83,7 +83,7 @@ jobs: name: GendarmeReport.xml - name: LaunchNVika - run: .\src\NVika\bin\Release\net6.0\NVika.exe --debug --includesource inspectcodereport.xml inspectcodereport.json ./src/NVika/bin/Release/net6.0/static-analysis.sarif.json GendarmeReport.xml + run: .\src\NVika\bin\Release\net8.0\NVika.exe --debug --includesource inspectcodereport.xml inspectcodereport.json ./src/NVika/bin/Release/net8.0/static-analysis.sarif.json GendarmeReport.xml # - name: Create release notes # run: | @@ -94,13 +94,13 @@ jobs: run: | Copy-Item -Path resources/icon.png -Destination src\NVika.MSBuild\ mkdir src\NVika.MSBuild\tools\ - Copy-Item -Path "src/NVika/bin/Release/net6.0/publish/*" -Destination src\NVika.MSBuild\tools\ + Copy-Item -Path "src/NVika/bin/Release/net8.0/publish/*" -Destination src\NVika.MSBuild\tools\ nuget pack src/NVika.MSBuild/NVika.MSBuild.nuspec -Version ${{ steps.gitversion.outputs.nuGetVersionV2 }} -OutputDirectory artifacts/nuget - name: Create netcore packages run: | mkdir ./artifacts/zips - Compress-Archive -Path src/NVika/bin/Release/net6.0/publish/* -DestinationPath "artifacts/zips/NVika.netcore.${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip" + Compress-Archive -Path src/NVika/bin/Release/net8.0/publish/* -DestinationPath "artifacts/zips/NVika.netcore.${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip" Copy-Item -Path "src/NVika/bin/Release/NVika.${{ steps.gitversion.outputs.nuGetVersionV2 }}.nupkg" -Destination artifacts/nuget - name: Create windows version diff --git a/.github/workflows/infersharp-analysis.yml b/.github/workflows/infersharp-analysis.yml index 4243c4a..35d74ac 100644 --- a/.github/workflows/infersharp-analysis.yml +++ b/.github/workflows/infersharp-analysis.yml @@ -32,7 +32,7 @@ jobs: uses: microsoft/infersharpaction@v1.5 id: runinfersharp with: - binary-path: 'src/NVika/bin/Release/net6.0/' + binary-path: 'src/NVika/bin/Release/net8.0/' - name: Upload SARIF output to GitHub Security Center uses: github/codeql-action/upload-sarif@v3 diff --git a/src/NVika.Tests/NVika.Tests.csproj b/src/NVika.Tests/NVika.Tests.csproj index 20efb0c..58bc25d 100644 --- a/src/NVika.Tests/NVika.Tests.csproj +++ b/src/NVika.Tests/NVika.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false diff --git a/src/NVika/NVika.csproj b/src/NVika/NVika.csproj index 09d404a..f017560 100644 --- a/src/NVika/NVika.csproj +++ b/src/NVika/NVika.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 bin\$(Configuration)\$(TargetFramework)\static-analysis.sarif.json;version=2 true nvika