From 2f70a484bf62b0b8ae8b665bea6b540d4bf4061d Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Sat, 7 Feb 2026 00:48:19 +0100 Subject: [PATCH] Add GitHub Actions build and test gate --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b9b8b13 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + build-and-test: + 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 GameList.sln + + - name: Build (warnings as errors) + run: dotnet build GameList.sln --no-restore -warnaserror + + - name: Test + run: dotnet test GameList.Tests/GameList.Tests.csproj --no-build --verbosity normal