From 4d52245617ea114c368cde206fa980d2628496ee Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Thu, 9 Oct 2025 17:39:57 +0200 Subject: [PATCH] ci: run `style.fish` This allows checking formatting of fish script and Python files, in addition to Rust files. Closes #11923 --- .github/workflows/lint.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8c2ec3e61..e3cbb4e40 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,15 +6,19 @@ permissions: contents: read jobs: - rustfmt: + format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ./.github/actions/rust-toolchain@stable with: components: rustfmt - - name: cargo fmt - run: cargo fmt --check + - name: install dependencies + run: pip install ruff + - name: build fish + run: cargo build + - name: check format + run: PATH="target/debug:$PATH" build_tools/style.fish --all --check clippy-stable: runs-on: ubuntu-latest