File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
2- on : [push, pull_request]
2+ on : [ push, pull_request ]
33jobs :
44 test :
55 name : Test
6- runs-on : ubuntu-latest
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ os :
10+ - ubuntu-24.04
11+ - ubuntu-24.04-arm
12+ - macos-15
13+ - macos-15-arm64
14+ - windows-2025
15+ - windows-11-arm
16+ rust : [ stable ]
717 steps :
818 - name : Checkout sources
919 uses : actions/checkout@v6
1020 - name : Install stable Rust
1121 uses : actions-rust-lang/setup-rust-toolchain@v1
1222 with :
13- toolchain : stable
23+ toolchain : ${{ matrix.rust }}
1424 - run : cargo check
1525 - run : cargo test
1626
1727 lint :
1828 name : Lint
19- runs-on : ubuntu-latest
29+ runs-on : ${{ matrix.os }}
30+ strategy :
31+ matrix :
32+ os : [ ubuntu-latest ]
33+ rust : [ stable ]
2034 steps :
2135 - name : Checkout sources
2236 uses : actions/checkout@v6
2337 - name : Install stable Rust
2438 uses : actions-rust-lang/setup-rust-toolchain@v1
2539 with :
26- toolchain : stable
40+ toolchain : ${{ matrix.rust }}
2741 components : rustfmt, clippy
2842 - run : cargo fmt --all -- --check
2943 - run : cargo clippy
You can’t perform that action at this time.
0 commit comments