Files
starter-workflows/ci/dotnet.yml
T
Rainer Sigwald b05136d6b3 Nit: Title restore step with "restore"
This is more like how folks generally refer to it in .NET-land.
2020-12-10 17:41:44 +00:00

26 lines
509 B
YAML

name: .NET
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal