infra: actions: add check-format job
Some checks failed
Gentoo Utils / build-oci-image (push) Has started running
Gentoo Utils / build (push) Has been cancelled
Gentoo Utils / test (push) Has been cancelled
Gentoo Utils / check-format (push) Has been cancelled

This commit is contained in:
2025-12-12 13:51:09 -06:00
parent e04e57e927
commit 0759c64513

View File

@@ -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