Skip to content

AOT/trim compatibility: source-generated trigger registry, sample publishing, multi-machine tests, and compatibility docs #76

AOT/trim compatibility: source-generated trigger registry, sample publishing, multi-machine tests, and compatibility docs

AOT/trim compatibility: source-generated trigger registry, sample publishing, multi-machine tests, and compatibility docs #76

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@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
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@v5
with:
directory: ./coverage
fail_ci_if_error: false
verbose: true