diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-16 15:30:26 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-16 16:15:36 +0200 |
| commit | 46c14b7b3ffe35c8c708cf141b379ea76364784c (patch) | |
| tree | cd9b55e19f6e4107ef67da6380a85161af358d40 | |
| parent | 05af962fa4457ca7a2b9e9a67bcec86ecb7344c2 (diff) | |
| download | rust-46c14b7b3ffe35c8c708cf141b379ea76364784c.tar.gz rust-46c14b7b3ffe35c8c708cf141b379ea76364784c.zip | |
Run clippy correctly, run it on `build_system` as well and run it earlier
| -rw-r--r-- | .github/workflows/ci.yml | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 453e8b54013..5c8e7d62816 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,9 +82,20 @@ jobs: #path: rust #key: ${{ runner.os }}-packages-${{ hashFiles('rust/.git/HEAD') }} + - name: Prepare + run: ./y.sh prepare --only-libcore + + - name: Check formatting + run: ./y.sh fmt --check + + - name: clippy + run: | + cargo clippy --all-targets -- -D warnings + cargo clippy --all-targets --no-default-features -- -D warnings + cargo clippy --manifest-path build_system/Cargo.toml --all-targets -- -D warnings + - name: Build run: | - ./y.sh prepare --only-libcore ./y.sh build --sysroot ./y.sh test --cargo-tests @@ -106,14 +117,6 @@ jobs: run: | ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }} - - name: Check formatting - run: ./y.sh fmt --check - - - name: clippy - run: | - cargo clippy --all-targets -- -D warnings - cargo clippy --all-targets --features master -- -D warnings - duplicates: runs-on: ubuntu-24.04 steps: |
