2020-12-22 19:31:24 +03:00
|
|
|
name: Build and Test
|
2020-12-22 19:21:07 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
|
|
|
dotnet-version: 5.0.101
|
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
2020-12-22 19:28:05 +03:00
|
|
|
run: dotnet build --configuration Release --no-restore
|
2020-12-22 19:21:07 +03:00
|
|
|
- name: Test
|
|
|
|
run: dotnet test --no-build --verbosity normal
|