Files
stevanfreeborn.options/.gitea/workflows/ci.yml
T
2026-03-30 21:29:45 -05:00

24 lines
580 B
YAML

name: CI
on:
pull_request:
branches: [main]
jobs:
ci:
name: Build, Format, and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Check formatting
run: dotnet format --verify-no-changes
- name: Run tests
run: dotnet test --no-build --verbosity normal