From d88f5c712a641659aa4f836df62f7703b42e323c Mon Sep 17 00:00:00 2001 From: tonythethompson Date: Thu, 2 Jul 2026 21:29:15 -0700 Subject: [PATCH 1/2] ci: add GitHub Actions workflow on master Enable build and test checks on master pushes and all pull requests so stacked feature-branch PRs get CI once this lands on the default branch. Co-authored-by: Cursor --- .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..9cc2825 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [master, main] + pull_request: + +permissions: + contents: read + +jobs: + build-test: + runs-on: windows-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 10.0.x + + - name: Build + run: dotnet build QuickShell.sln -c Release -p:Platform=x64 --verbosity minimal + shell: pwsh + + - name: Test + run: dotnet test QuickShell.Core.Tests/QuickShell.Core.Tests.csproj -c Release -p:Platform=x64 --no-build --verbosity minimal + shell: pwsh From 8d56efe5e8e2492455bd91388456cf342fe2464d Mon Sep 17 00:00:00 2001 From: tonythethompson Date: Thu, 2 Jul 2026 21:34:46 -0700 Subject: [PATCH 2/2] docs: clarify stacked PR CI behavior in workflow comment Co-authored-by: Cursor --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cc2825..8a6697d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,9 @@ name: CI on: push: branches: [master, main] + # Runs on all pull requests once this workflow exists on master (default branch). + # Stacked PRs whose base branch predates this file may need master merged in + # before checks appear on downstream PRs (#5–#9). pull_request: permissions: