We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca2f116 commit f16ff0cCopy full SHA for f16ff0c
1 file changed
.github/workflows/dotnet.yml
@@ -0,0 +1,33 @@
1
+name: .NET
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Setup .Net Core 3.1
17
+ uses: actions/setup-dotnet@v1
18
+ with:
19
+ dotnet-version: 3.1.x
20
+ - name: Setup .NET 5
21
22
23
+ dotnet-version: 5.0.x
24
+ - name: Setup .NET 6
25
26
27
+ dotnet-version: 6.x
28
+ - name: Restore dependencies
29
+ run: dotnet restore
30
+ - name: Build
31
+ run: dotnet build --no-restore
32
+ - name: Test
33
+ run: dotnet test --no-build --verbosity normal
0 commit comments