diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1a3c4b84d..7c5bf3677 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,6 +7,20 @@ on: branches-ignore: gh-pages jobs: + # The tree is checked before anything is built: the four rules read + # `git ls-files` and nothing else, so a finding arrives in seconds rather than + # after a libmeos build. The rules live in MEOS-API beside the catalog and the + # provisioning recipe, so this repository carries no copy of them to go stale. + hygiene: + name: Tree hygiene + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Refuse tracked build output, skipped suites and stale pins + uses: MobilityDB/MEOS-API/.github/actions/check-tree-hygiene@master + build: runs-on: ubuntu-latest