Files
starter-workflows/ci/dotnet-core.yml
T

26 lines
519 B
YAML
Raw Normal View History

2020-03-17 11:17:19 +00:00
name: .NET Core
on:
push:
2020-07-13 12:12:41 -07:00
branches: [ $default-branch ]
2020-03-17 11:17:19 +00:00
pull_request:
2020-07-13 12:12:41 -07:00
branches: [ $default-branch ]
2020-03-17 11:17:19 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
2020-07-18 16:17:03 -04:00
dotnet-version: 3.1.301
2020-03-17 11:17:19 +00:00
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal