Skip to content

Commit f959c38

Browse files
authored
ci: add test job (#12)
1 parent 7eaec50 commit f959c38

File tree

2 files changed

+20
-26
lines changed

2 files changed

+20
-26
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build-test:
11+
runs-on: ubuntu-latest
12+
container: mcr.microsoft.com/dotnet/sdk:8.0
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Build
18+
run: dotnet build -c Release
19+
- name: Test
20+
run: dotnet test -c Release

.github/workflows/dotnet.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)