Skip to content

chore: Fix warnings

chore: Fix warnings #6

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: ci
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
NuGetDirectory: ${{ github.workspace}}/nuget
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Build Aspire.Hosting.Spin
run: dotnet build --configuration Release
working-directory: ./Aspire.Hosting.Spin
- name: Run Tests
run: dotnet test --logger trx --results-directory "test-results"
- name: Upload .NET Test Results
uses: actions/upload-artifact@v4
with:
name: dotnet-test-results
path: test-results
if: ${{ always() }}
- name: Install .NET Aspire Workload
run: dotnet workload install aspire
- name: Build Sample Application
run: dotnet build --configuration Release
working-directory: ./example/host