Skip to content

Commit d694b11

Browse files
authored
Create net-workflow.yml
1 parent 0553d53 commit d694b11

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/net-workflow.yml

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

0 commit comments

Comments
 (0)