Commit c59e1d2
committed
ci: add --no-cache to dotnet restore to prevent stale NuGet resolution
The NuGet global packages cache on CI runners can mask NU1603
warnings by satisfying transitive dependencies from cached packages
rather than performing fresh resolution against the feed.
Adding --no-cache ensures CI always validates package resolution
from scratch, matching the behavior of clean publish agents.1 parent 9d3d349 commit c59e1d2
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
0 commit comments