Skip to content

Update 05_Context_Implementation.md #11

Update 05_Context_Implementation.md

Update 05_Context_Implementation.md #11

Workflow file for this run

name: .NET Build & Test for FSM_API
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
permissions:
contents: read
jobs:
build-and-test:
name: 🛠️ Build & Test FSM_API (.NET Core)
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ "8.0.x", "7.0.x" ] # Expand as needed
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: 🧰 Setup .NET SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: 📦 Restore dependencies
run: dotnet restore
- name: 🔨 Build solution
run: dotnet build FSM_API.sln --no-restore --configuration Release
- name: 🧪 Run unit tests
run: dotnet test FSM_API.sln --no-build --configuration Release --verbosity normal
env:
DOTNET_ENVIRONMENT: "CI"
- name: ✅ Done!
run: echo "🎉 Build & tests completed on .NET ${{ matrix.dotnet-version }}"