about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-05-02 15:21:30 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-05-03 11:52:47 +0200
commit7e369b314bf7f08640febc341731ebd8b8a34236 (patch)
treee3e7182dbf65c75ad30d1ccb59bfeb1561201149
parentbd7c57b8cdfc045eeb4f6866a6abedd757e20e02 (diff)
downloadrust-7e369b314bf7f08640febc341731ebd8b8a34236.tar.gz
rust-7e369b314bf7f08640febc341731ebd8b8a34236.zip
Simplify `fmt` check in CI
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 835e055e8c5..cd366dbae16 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -103,10 +103,7 @@ jobs:
         ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
 
     - name: Check formatting
-      run: |
-        cargo fmt -- --check
-        cd build_system
-        cargo fmt -- --check
+      run: ./y.sh fmt --check
 
     - name: clippy
       run: |