-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (31 loc) · 851 Bytes
/
build.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
38
39
40
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET 6
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Setup .NET 7
uses: actions/setup-dotnet@v2
with:
dotnet-version: '7.0.x'
- name: Setup dotnet 8
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore EverTask.sln
- name: Build
run: dotnet build EverTask.sln --no-restore
- name: Test
run: dotnet test test/EverTask.Tests/EverTask.Tests.csproj --no-restore --verbosity normal