Skip to content

Commit c494c2b

Browse files
authored
CI: restore coverlet with configured package sources (#1909)
* CI: defer coverlet restore to solution build * CI: pin coverlet msbuild version
1 parent 43b4453 commit c494c2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
path: ${{ env.NUGET_PACKAGES }}
3939
key: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}-nuget-${{ hashFiles('NuGet.Config', 'src/Directory.Build.props', 'tests/Directory.Build.props', '**/*.csproj') }}
4040
- name: Add package coverlet.msbuild
41-
run: find tests -path '*UnitTests/*.csproj' | xargs -I % dotnet add % package coverlet.msbuild --source https://api.nuget.org/v3/index.json
41+
run: find tests -path '*UnitTests/*.csproj' | xargs -I % dotnet add % package coverlet.msbuild --version 6.0.4 --no-restore
4242
- name: Build Solution
4343
run: dotnet build ./neo-devpack-dotnet.sln
4444
- name: Check format

0 commit comments

Comments
 (0)