-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 827 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
41
name: build-CI
on:
create:
branches:
- feature/**
push:
branches:
- ace
- main
- develop
- feature/**
- bugfix/**
jobs:
build:
env:
CONFIG: 'Release'
SOLUTION: 'src/Ace.CSharp.DataFaker.sln'
TEST_PROJECT: 'src/Ace.CSharp.DataFaker.Tests/Ace.CSharp.DataFaker.Tests.csproj'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: dotnet restore
run: dotnet restore $SOLUTION
- name: dotnet build
run: dotnet build $SOLUTION --configuration $CONFIG --no-restore
- name: dotnet test
run: dotnet test $TEST_PROJECT --configuration $CONFIG --no-restore --no-build --verbosity normal