From 0759c64513a53b0208c4455c09990ccb3ba3e681 Mon Sep 17 00:00:00 2001 From: penguin Date: Fri, 12 Dec 2025 13:51:09 -0600 Subject: [PATCH] infra: actions: add check-format job --- .gitea/workflows/gentoo-utils.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index f5c8254..5cda43b 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -94,3 +94,16 @@ 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 -Ddocs=enabled build + ninja rustfmt -C build