Skip to content

Commit b216fbf

Browse files
committed
Add workflow
1 parent d2057b6 commit b216fbf

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Setup .NET
21+
uses: actions/setup-dotnet@v3
22+
with:
23+
dotnet-version: '9.0'
24+
25+
- name: Restore dependencies
26+
run: dotnet restore
27+
28+
- name: Build the project
29+
run: dotnet build --no-restore --configuration Release
30+
31+
- name: Run tests
32+
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)