-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1004 Bytes
/
dotnet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies [src]
run: dotnet restore src
- name: Build [src]
run: dotnet build src --no-restore
# - name: Test [src]
# run: dotnet test src --no-build --verbosity normal
- name: Restore dependencies [nuget packages]
run: dotnet restore "nuget packages"
- name: Build [nuget packages]
run: dotnet build "nuget packages" --no-restore
# - name: Test [nuget packages]
# run: dotnet test "nuget packages" --no-build --verbosity normal
- name: Restore dependencies [test]
run: dotnet restore test
- name: Build [test]
run: dotnet build test --no-restore
# - name: Test [test]
# run: dotnet test test --no-build --verbosity normal