This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Merge pull request #12 from DFE-Digital/feature/academies-api-contracts #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull request checks | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'academiesContracts/**' | |
pull_request: | |
branches: [ main ] | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'academiesContracts/**' | |
defaults: | |
run: | |
working-directory: academiesContracts | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v1 | |
- name: Build | |
run: dotnet build -c Release | |
- name: Test | |
run: dotnet test -c Release --no-build |