We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d903d commit 2845b25Copy full SHA for 2845b25
1 file changed
.github/workflows/dotnet.yml
@@ -0,0 +1,31 @@
1
+# This workflow will build a .NET project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+name: .NET
5
6
+on:
7
+ push:
8
+ branches: [ "main" ]
9
+ pull_request:
10
11
12
+permissions:
13
+ contents: read
14
15
+jobs:
16
+ build:
17
18
+ runs-on: ubuntu-latest
19
20
+ steps:
21
+ - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
22
+ - name: Setup .NET
23
+ uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
24
+ with:
25
+ dotnet-version: 8.0.x
26
+ - name: Restore dependencies
27
+ run: dotnet restore --locked-mode
28
+ - name: Build
29
+ run: dotnet build --no-restore
30
+ - name: Test
31
+ run: dotnet test --no-build --verbosity normal
0 commit comments