Skip to content

chore: Bump the microsoft group with 5 updates #20

chore: Bump the microsoft group with 5 updates

chore: Bump the microsoft group with 5 updates #20

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"
- name: Restore
run: dotnet restore FunctionalStateMachine.sln
- name: Build
run: dotnet build FunctionalStateMachine.sln --configuration Release --no-restore
- name: Test
run: dotnet test FunctionalStateMachine.sln --configuration Release --no-build --verbosity normal
- name: Test with Coverage
run: dotnet test FunctionalStateMachine.sln --configuration Release --no-build --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
directory: ./coverage
fail_ci_if_error: false
verbose: true