From ab0e69b9f100a7e7310c4801c84b2cc25c7f3662 Mon Sep 17 00:00:00 2001 From: foxnne Date: Thu, 15 Oct 2026 06:41:44 -0500 Subject: [PATCH] ci: check pull requests with plugin-build-action's check.yml Calls check.yml from plugin-build-action v7 on pull requests and pushes to main; formats what zig fmt flags so it starts green. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..84280cd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +# Checks every pull request and every push to main: formatting, a build for each desktop OS, the +# build's `test` step if it has one, and (never failing the run) a build against fizzy main. +name: CI +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + check: + uses: fizzyedit/plugin-build-action/.github/workflows/check.yml@v7 + with: + zig-version: "0.16.0" + # secrets: + # build_env: ${{ secrets.MY_BUILD_ENV }} # as in release.yml, if the build needs one