From 78d6ad97c355d6daa03509b4fd1905272592a180 Mon Sep 17 00:00:00 2001 From: Marius S <39998+winding-lines@users.noreply.github.com> Date: Sun, 15 Nov 2026 15:21:45 -0800 Subject: [PATCH] ci: customs checks the imports Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46b5daf..37ee027 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,14 +126,23 @@ jobs: retention-days: 1 compression-level: 0 + # Imports: no cycles between modules, and each name imported from the + # module that defines it (github.com/magmalake/customs). + customs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: magmalake/customs@v0.2.1 + # `test` and `image`, the checks for main's ruleset: each passes once every # architecture's job has. + # `test` also needs customs. test: if: always() - needs: test-arch + needs: [test-arch, customs] runs-on: ubuntu-latest steps: - - run: '[ "${{ needs.test-arch.result }}" = success ]' + - run: '[ "${{ needs.test-arch.result }}" = success ] && [ "${{ needs.customs.result }}" = success ]' image: if: always() needs: image-arch