Skip to content

Commit 01ef4bd

Browse files
committed
let us add CI
1 parent 8361fe1 commit 01ef4bd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: .NET
2+
3+
on: [pull_request] # add push later
4+
5+
jobs:
6+
build:
7+
name: Build and test on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ubuntu-latest] # add later:, windows-latest, macos-latest]
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup .NET 8.0
17+
uses: actions/setup-dotnet@v4
18+
with:
19+
dotnet-version: '8.0.x'
20+
- name: Restore dependencies
21+
run: dotnet restore
22+
- name: Build
23+
run: dotnet build --no-restore
24+
- name: Unit tests
25+
run: dotnet test --verbosity m --no-build
26+
continue-on-error: false

0 commit comments

Comments
 (0)