-
-
Notifications
You must be signed in to change notification settings - Fork 18
41 lines (32 loc) · 808 Bytes
/
dotnet-core.yml
File metadata and controls
41 lines (32 loc) · 808 Bytes
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
41
name: ".Net Build"
on:
push:
branches: []
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
env:
Solution_Name: IntelligentInvestor.sln
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
include-prerelease: true
- name: Install dependencies
run: dotnet restore ./src/
- name: Build
run: dotnet build /p:Configuration=$env:Configuration --no-restore ./src/
env:
Configuration: ${{ matrix.configuration }}
- name: Test
run: dotnet test --no-restore --verbosity normal ./src/