Merge pull request 'add: cache nuget packages in action' (#3) from feat-action-cache into master

Reviewed-on: PostGuard/Canon#3
This commit is contained in:
jackfiled 2024-03-11 16:31:59 +08:00
commit f8bf60e7ea

View File

@ -7,5 +7,10 @@ jobs:
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: https://git.rrricardo.top/actions/checkout@v4 uses: https://git.rrricardo.top/actions/checkout@v4
- name: Cache nuget packages
uses: https://git.rrricardo.top/actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget
- name: Run test code - name: Run test code
run: dotnet test run: dotnet test