name: ci on: push: branches: - main - master pull_request: jobs: build: name: restore build format test pack runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: 10.0.x - name: Restore run: dotnet restore ttui.slnx - name: Build run: dotnet build ttui.slnx --configuration Release --no-restore - name: Format run: dotnet format ttui.slnx --verify-no-changes --no-restore - name: Test run: dotnet test ttui.slnx --configuration Release --no-build --logger "trx;LogFileName=test-results.trx" - name: Pack run: dotnet pack src/TinyTUI/TinyTUI.csproj --configuration Release --no-build --output build/artifacts/packages