2024-03-09 21:51:31 +08:00
|
|
|
name: Test canon project
|
|
|
|
on: [ push ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Test-Canon:
|
|
|
|
runs-on: archlinux
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: https://git.rrricardo.top/actions/checkout@v4
|
2024-03-11 12:13:12 +08:00
|
|
|
- name: Cache nuget packages
|
|
|
|
uses: https://git.rrricardo.top/actions/cache@v4
|
|
|
|
with:
|
|
|
|
path: ~/.nuget/packages
|
|
|
|
key: ${{ runner.os }}-nuget
|
2024-03-11 19:33:02 +08:00
|
|
|
save-always: true
|
2024-04-20 11:48:05 +08:00
|
|
|
- name: Build code
|
|
|
|
run: dotnet build
|
2024-03-09 21:51:31 +08:00
|
|
|
- name: Run test code
|
|
|
|
run: dotnet test
|