This commit is contained in:
Patrick Stevens
2022-12-11 08:58:28 +00:00
committed by GitHub
parent c5b360acfa
commit 4205ec4661
9 changed files with 395 additions and 6 deletions

View File

@@ -13,6 +13,12 @@ env:
jobs:
build:
strategy:
matrix:
config:
- Release
- Debug
runs-on: ubuntu-latest
steps:
@@ -24,11 +30,11 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore --configuration ${{matrix.config}}
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal --configuration ${{matrix.config}}
- name: Run app
run: dotnet run --project AdventOfCode2022.App/AdventOfCode2022.App.fsproj --no-build
run: dotnet run --project AdventOfCode2022.App/AdventOfCode2022.App.fsproj --no-build --configuration ${{matrix.config}}
check-format:
runs-on: ubuntu-latest