Files
starter-workflows/ci/dotnet.yml
T

29 lines
640 B
YAML
Raw Normal View History

2022-10-10 11:12:22 +00:00
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
2020-12-10 17:35:47 +00:00
name: .NET
2020-03-17 11:17:19 +00:00
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@v4
2020-12-10 17:35:47 +00:00
- name: Setup .NET
uses: actions/setup-dotnet@v4
2020-03-17 11:17:19 +00:00
with:
dotnet-version: 8.0.x
2020-12-10 17:41:44 +00:00
- name: Restore dependencies
2020-03-17 11:17:19 +00:00
run: dotnet restore
- name: Build
run: dotnet build --no-restore
2020-03-17 11:17:19 +00:00
- name: Test
2020-12-10 17:42:57 +00:00
run: dotnet test --no-build --verbosity normal