oliverbooth.dev/.github/workflows/dotnet.yml

29 lines
486 B
YAML
Raw Normal View History

2023-08-04 00:37:51 +00:00
name: .NET
on:
push:
pull_request:
jobs:
build:
name: "Build & Test"
runs-on: ubuntu-latest
steps:
2024-04-26 17:45:10 +00:00
- name: Checkout
uses: actions/checkout@v4
2023-08-04 00:37:51 +00:00
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
2024-02-29 20:43:27 +00:00
dotnet-version: 8.0.x
2024-04-26 17:44:49 +00:00
2023-08-04 00:37:51 +00:00
- name: Restore dependencies
run: dotnet restore
2024-04-26 17:44:49 +00:00
2023-08-04 00:37:51 +00:00
- name: Build
run: dotnet build --no-restore --configuration Release
2024-04-26 17:44:49 +00:00
2023-08-04 00:37:51 +00:00
- name: Test
run: dotnet test --no-build --verbosity normal