Skip to content

Commit f777cac

Browse files
authored
ci: add GitHub Action to run tests (#15)
1 parent 87b48ae commit f777cac

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Setup .NET
13+
uses: actions/setup-dotnet@v3
14+
with:
15+
dotnet-version: 6.0.x
16+
- name: Restore dependencies
17+
run: dotnet restore src
18+
- name: Build
19+
run: dotnet build src --no-restore
20+
- name: Test
21+
run: dotnet test src --no-build -f net6.0

0 commit comments

Comments
 (0)