diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e9de92..4d18405 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ on: env: IMAGE: git.greboh.dev/greboh/hearth-api + DOTNET_NOLOGO: true + DOTNET_CLI_TELEMETRY_OPTOUT: true jobs: build: @@ -31,7 +33,11 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: 10.0.x - - run: dotnet build Hearth.slnx -c Release + # Hearth.Api references every module, so this compiles everything that ships. + # The AppHost (local dev only) is skipped: its Aspire packages are hundreds of MB per restore. + # Restore logs at normal verbosity so every package download shows up. + - run: dotnet restore Hosts/Hearth.Api/Hearth.Api.csproj -v normal + - run: dotnet build Hosts/Hearth.Api/Hearth.Api.csproj -c Release --no-restore - name: Run tests run: | mapfile -t projects < <(git ls-files '*Tests.csproj')