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

29 lines
486 B
YAML
Raw Normal View History

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