Skip to content

first commit

first commit #1

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Install dotnet-format
run: |
dotnet tool install --global dotnet-format --version 8.0.1
echo "${HOME}/.dotnet/tools" >> $GITHUB_PATH
- name: Restore
run: dotnet restore
- name: Verify formatting
run: dotnet-format --verify-no-changes --severity warn
- name: Build
run: dotnet build --configuration Release --no-restore -warnaserror
- name: Test
run: dotnet test --configuration Release --no-build --collect "XPlat Code Coverage"