Skip to content

Commit 1c40984

Browse files
committed
github CI
1 parent aa91542 commit 1c40984

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)