We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9c8c6e commit 2f70fadCopy full SHA for 2f70fad
1 file changed
.github/workflows/dotnet-ci.yml
@@ -0,0 +1,34 @@
1
+name: .NET CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup .NET
17
+ uses: actions/setup-dotnet@v3
18
+ with:
19
+ dotnet-version: "8.0.x"
20
21
+ - name: Cache NuGet packages
22
+ uses: actions/cache@v4
23
24
+ path: ~/.nuget/packages
25
+ key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }}
26
+ restore-keys: |
27
+ ${{ runner.os }}-nuget-
28
29
+ - name: Restore
30
+ run: dotnet restore
31
32
+ # Debug build because it's faster.
33
+ - name: Quick Build (Debug)
34
+ run: dotnet build --no-restore
0 commit comments