Skip to content

Commit ff48d91

Browse files
committed
added ci pipeline
1 parent f68a86f commit ff48d91

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/dotnet.yml

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

0 commit comments

Comments
 (0)