diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 6c539a8..9f9f612 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -125,3 +125,17 @@ jobs: meson compile -C build ninja test -C build + check-format: + runs-on: brutalisk + needs: [build-oci-image] + container: + image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }} + steps: + - name: Checkout repo + uses: actions/checkout@v5 + + - name: Check Formatting + run: | + meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build + meson format --check-only --recursive + ninja rustfmt -C build