@@ -34,41 +34,17 @@ jobs:
3434 - name : Configure Rust target ${{ inputs.rustup-target }}
3535 run : rustup target add ${{ inputs.rustup-target }}
3636
37- - name : Cache Dependencies
38- uses : Swatinem/rust-cache@v2
39-
40- - run : cargo xtask --deny-warnings check -p ${{ inputs.platform }} -b ${{ inputs.backend }}
41-
42- check-examples :
43- runs-on : ubuntu-22.04
44- name : Check examples
45- steps :
46- - name : Checkout
47- uses : actions/checkout@v4
48-
49- - name : Configure Rust target ${{ inputs.rustup-target }}
50- run : rustup target add ${{ inputs.rustup-target }}
37+ - name : Add Rust component clippy
38+ run : rustup component add clippy
5139
5240 - name : Cache Dependencies
5341 uses : Swatinem/rust-cache@v2
5442
43+ - name : Check all packages
44+ run : cargo xtask --deny-warnings check -p ${{ inputs.platform }} -b ${{ inputs.backend }}
45+
5546 - name : Check the examples
5647 run : cargo xtask example-check --platform ${{ inputs.platform }} --backend ${{ inputs.backend }} ${{ inputs.example-args }}
5748
58- clippy :
59- runs-on : ubuntu-22.04
60- name : Run clippy
61- steps :
62- - name : Checkout
63- uses : actions/checkout@v4
64-
65- - name : Configure Rust target ${{ inputs.rustup-target }}
66- run : rustup target add ${{ inputs.rustup-target }}
67-
68- - name : Add Rust component clippy
69- run : rustup component add clippy
70-
71- - name : Cache Dependencies
72- uses : Swatinem/rust-cache@v2
73-
74- - run : cargo xtask --deny-warnings --platform ${{ inputs.platform }} --backend ${{ inputs.backend }} clippy
49+ - name : Run clippy
50+ run : cargo xtask --deny-warnings --platform ${{ inputs.platform }} --backend ${{ inputs.backend }} clippy
0 commit comments