Canon/.gitea/workflows/test.yaml

20 lines
591 B
YAML
Raw Normal View History

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
save-always: true
- name: Build code
run: dotnet build
2024-03-09 21:51:31 +08:00
- name: Run test code
run: dotnet test