@@ -18,22 +18,28 @@ jobs:
1818 fail-fast : false
1919 matrix :
2020 os : [ubuntu-24.04, macos-14, windows-2022]
21-
22- name : Lint (${{ matrix.os }})
21+ feature-args : ['', '-Funstable-mobile-app']
22+ include :
23+ - feature-args : ' '
24+ feature-suffix : ' '
25+ - feature-args : ' -Funstable-mobile-app'
26+ feature-suffix : ' , mobile-app'
27+
28+ name : Lint (${{ matrix.os }}${{ matrix.feature-suffix }})
2329 runs-on : ${{ matrix.os }}
2430 steps :
2531 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2632
2733 - name : Install Rust Toolchain
2834 run : rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update
2935
30- - uses : swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8
36+ - uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
3137
3238 - name : Run Rustfmt
3339 run : cargo fmt --all -- --check
3440
3541 - name : Run Clippy
36- run : cargo clippy --workspace --tests
42+ run : cargo clippy --workspace --tests ${{ matrix.feature-args }}
3743
3844 lint :
3945 needs : lint-each-os
@@ -52,19 +58,25 @@ jobs:
5258 fail-fast : false
5359 matrix :
5460 os : [ubuntu-24.04, macos-14, windows-2022]
55-
56- name : Test (${{ matrix.os }})
61+ feature-args : ['', '-Funstable-mobile-app']
62+ include :
63+ - feature-args : ' '
64+ feature-suffix : ' '
65+ - feature-args : ' -Funstable-mobile-app'
66+ feature-suffix : ' , mobile-app'
67+
68+ name : Test (${{ matrix.os }}${{ matrix.feature-suffix }})
5769 runs-on : ${{ matrix.os }}
5870
5971 steps :
6072 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
6173
62- - uses : swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8
74+ - uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
6375 with :
6476 key : ${{ github.job }}
6577
6678 - name : Run Cargo Tests
67- run : cargo test --all
79+ run : cargo test --all ${{ matrix.feature-args }}
6880
6981 test_node :
7082 strategy :
0 commit comments