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