Files
ttui/.github/workflows/ci.yml
T
chuan 54a71c1645 chore: add package and ci foundation
- add README and public API boundary documentation

- configure package metadata and CI validation
2026-06-04 02:40:53 +08:00

38 lines
867 B
YAML

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