Skip to content

Commit 0bc1d7b

Browse files
Merge pull request #6 from SculptTechProject/ci/init
Ci/init
2 parents a4636e6 + c989464 commit 0bc1d7b

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.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+
pull_request:
6+
7+
jobs:
8+
build-and-test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 9.0.x
19+
20+
- name: Restore
21+
run: dotnet restore
22+
23+
- name: Build
24+
run: dotnet build --no-restore
25+
26+
- name: Test
27+
run: dotnet test --no-build --verbosity normal

sparkly-server.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@
4343
<None Remove="Properties\launchSettings.json" />
4444
</ItemGroup>
4545

46+
<ItemGroup>
47+
<Content Include=".github\workflows\ci.yml" />
48+
</ItemGroup>
49+
4650
</Project>

0 commit comments

Comments
 (0)