diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5747a185..7b4f1c4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: run: dotnet reportgenerator -reports:./tests/**/coverage.info -targetdir:./reports/codecoverage -reporttypes:Html - name: Archive Code coverage - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: codecoverage path: ./reports/codecoverage/*.* @@ -149,7 +149,7 @@ jobs: run: dotnet pack -c Release -o ./package/ -p:PackageVersion=${{ env.build-version-number }} -p:Version=${{ env.build-version-number }} - name: Archive tool nupkg - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ env.nuget-package-name }} path: ./package/*.nupkg @@ -168,7 +168,7 @@ jobs: uses: actions/setup-dotnet@v5 - name: Download package - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: ${{ env.nuget-package-name }} path: ${{ github.workspace }}/artifacts diff --git a/global.json b/global.json new file mode 100644 index 00000000..6c77f9e5 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "9.0.308", + "rollForward": "latestFeature" + } +} \ No newline at end of file diff --git a/src/pkgchk-cli/Sca.fs b/src/pkgchk-cli/Sca.fs index fc1e22e4..78a4b3bc 100644 --- a/src/pkgchk-cli/Sca.fs +++ b/src/pkgchk-cli/Sca.fs @@ -69,7 +69,7 @@ module ScaArgs = module Sca = let restoreArgs projectPath = - projectPath |> Io.toFullPath |> sprintf "restore %s" + projectPath |> Io.toFullPath |> sprintf "restore %s -nowarn:NU1510" let parseError (parseable: string) (ex: Exception) = match diff --git a/tests/pkgchk-cli.tests.integration/PackageDependencyTests.fs b/tests/pkgchk-cli.tests.integration/PackageDependencyTests.fs index 8d00bffc..16295ad8 100644 --- a/tests/pkgchk-cli.tests.integration/PackageDependencyTests.fs +++ b/tests/pkgchk-cli.tests.integration/PackageDependencyTests.fs @@ -39,4 +39,4 @@ type PackageDependencyTests(output: ITestOutputHelper) = runPkgChkDependenciesArgs outDir true |> execSuccessPkgChk - |> assertPackagesFound [ httpPackage; regexPackage; sysIoPackage ] + |> assertPackagesFound [ httpPackage; regexPackage ]