Skip to content
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*.*
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "9.0.308",
"rollForward": "latestFeature"
}
}
2 changes: 1 addition & 1 deletion src/pkgchk-cli/Sca.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ type PackageDependencyTests(output: ITestOutputHelper) =

runPkgChkDependenciesArgs outDir true
|> execSuccessPkgChk
|> assertPackagesFound [ httpPackage; regexPackage; sysIoPackage ]
|> assertPackagesFound [ httpPackage; regexPackage ]