Skip to content

Commit c39aea3

Browse files
authored
Create tests.yml
1 parent 3783fbe commit c39aea3

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/tests.yml

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

0 commit comments

Comments
 (0)