Skip to content

Commit dbe30f7

Browse files
committed
Update ci.yml
1 parent d5cef7e commit dbe30f7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
lint:
1212
name: Lint
13-
runs-on: ubuntu-latest
13+
runs-on: windows-latest
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
@@ -20,6 +20,15 @@ jobs:
2020
dotnet-version: '6.0'
2121
- name: Install dependencies
2222
run: dotnet restore
23+
- name: Cache NuGet packages
24+
uses: actions/cache@v4
25+
with:
26+
path: |
27+
~/.nuget/packages
28+
~/.local/share/NuGet/Cache
29+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
30+
restore-keys: |
31+
${{ runner.os }}-nuget-
2332
- name: Run linting
2433
run: dotnet build --no-restore --configuration Release /warnaserror
2534
env:

0 commit comments

Comments
 (0)