Skip to content

chore: add CI workflows for build/test and example run #6

chore: add CI workflows for build/test and example run

chore: add CI workflows for build/test and example run #6

Workflow file for this run

name: Run Example
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
run-example:
name: Run example
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
cache: true
cache-dependency-path: |
src/Eventa/packages.lock.json
examples/Eventa.Example/packages.lock.json
tests/Eventa.Tests/packages.lock.json
- name: Restore
run: dotnet restore Eventa.slnx --locked-mode
- name: Run example
run: dotnet run --project examples/Eventa.Example/Eventa.Example.csproj --configuration Release --no-restore