forked from ardalis/Specification
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 1000 Bytes
/
build-test-ef6.yml
File metadata and controls
33 lines (30 loc) · 1000 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
name: Build and Test Ardalis.Specification.EntityFramework6
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
paths:
- 'Specification.EntityFramework6/**'
pull_request:
branches:
- main
paths:
- 'Specification.EntityFramework6/**'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2
- name: Build with dotnet
run: dotnet build Specification.EntityFramework6/src/Ardalis.Specification.EntityFramework6/Ardalis.Specification.EntityFramework6.csproj --configuration Release
- name: Test with dotnet
run: dotnet test Specification.EntityFramework6/tests/Ardalis.Specification.EntityFramework6.IntegrationTests/Ardalis.Specification.EntityFramework6.IntegrationTests.csproj --configuration Release