diff --git a/.github/workflows/dotnet-test.yml b/.github/workflows/dotnet-test.yml index dc37323..dd6b397 100644 --- a/.github/workflows/dotnet-test.yml +++ b/.github/workflows/dotnet-test.yml @@ -22,5 +22,12 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x + - name: Cache NuGet packages + uses: actions/cache@v3 + with: + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} + restore-keys: | + ${{ runner.os }}-nuget - name: Test run: dotnet test src/ --verbosity normal