-
Notifications
You must be signed in to change notification settings - Fork 147
43 lines (39 loc) · 1.04 KB
/
buildandtest.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
42
43
name: Build and Test
on:
workflow_dispatch:
push:
branches: [ dev ]
paths:
- 'src/lib/PnP.Framework/**'
- 'src/lib/PnP.Framework.Test/**'
pull_request:
branches: [ dev ]
paths:
- 'src/lib/PnP.Framework/**'
- 'src/lib/PnP.Framework.Test/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Wait for actions to finish
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout PnP Framework dev branch
uses: actions/checkout@v2
with:
ref: dev
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
include-prerelease: false
- name: Install dependencies
run: dotnet restore
working-directory: src/lib
- name: Build
run: dotnet build --configuration debug --no-restore --verbosity normal
working-directory: src/lib
#- name: Test
# run: dotnet test --no-restore --verbosity normal
# working-directory: src/lib