Skip to content

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

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

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

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build-test:
name: 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: 10.0.x
- name: Restore
run: dotnet restore Eventa.slnx
- name: Build
run: dotnet build Eventa.slnx --configuration Release --no-restore
- name: Test
run: dotnet test --project tests/Eventa.Tests/Eventa.Tests.csproj --configuration Release --no-build