summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpenguin <penguin@epenguin.net>2025-12-12 23:03:31 -0600
committerpenguin <penguin@epenguin.net>2025-12-12 23:05:56 -0600
commitf16545e65b2c106cfaf6f23ce3b1b2856c792cdd (patch)
tree2589e755bdda5c3fc99b9d22cacbfaf3d3ba8a77
parente83ca9aab29526d33c79dd6d7b07dfd83c22cace (diff)
downloadgentoo-utils-f16545e65b2c106cfaf6f23ce3b1b2856c792cdd.tar.gz
ci: add check-format job
-rw-r--r--.gitea/workflows/gentoo-utils.yml14
1 files changed, 14 insertions, 0 deletions
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