Skip to content

Add new Kubernetes resources and update configuration files #4

Add new Kubernetes resources and update configuration files

Add new Kubernetes resources and update configuration files #4

Workflow file for this run

name: Build and Test AppHost
on:
push:
paths:
- 'src/MathZ.AppHost/**'
pull_request:
paths:
- 'src/MathZ.AppHost/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Cache NuGet packages
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.fsproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install Aspire
run: dotnet workload install aspire
- name: Restore dependencies
run: dotnet restore src/MathZ.AppHost/MathZ.AppHost.csproj
- name: Build
run: dotnet build src/MathZ.AppHost/MathZ.AppHost.csproj --no-restore
- name: Test
run: dotnet test src/MathZ.AppHost/MathZ.AppHost.csproj --no-build --verbosity normal