Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
feat: add cache for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-wff committed Dec 2, 2023
1 parent 78b5258 commit c0e3a28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
with:
dotnet-version: '8.0.100'

- name: Cache .NET packages
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-dotnet-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-dotnet-
- name: Restore dependencies
run: dotnet restore

Expand Down

0 comments on commit c0e3a28

Please sign in to comment.