File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed
Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 lint-build-test :
14- runs-on : ubuntu-latest
14+ runs-on : ${{ matrix.runner }}
15+ strategy :
16+ matrix :
17+ runner : [ubuntu-latest, windows-latest, macos-latest]
18+ include :
19+ - runner : ubuntu-latest
20+ platform : linux
21+ - runner : windows-latest
22+ platform : windows
23+ - runner : macos-latest
24+ platform : macos
1525
1626 steps :
1727 - uses : actions/checkout@v3
1828 - uses : actions/setup-node@v4
1929 with :
2030 node-version : ' 20.11.0'
21- - name : check
31+ - name : Check
2232 run : cargo run --package tool-dev -- check
23- - name : clippy
33+ - name : Clippy
2434 run : cargo run --package tool-dev -- clippy
25- - name : fmt
35+ - name : Format
2636 run : cargo run --package tool-dev -- fmt
27- - name : build
28- run : cargo run --package tool-dev -- build linux
29- - name : test
30- run : cargo run --package tool-dev -- test linux
37+ - name : Build
38+ run : cargo run --package tool-dev -- build ${{ matrix.platform }}
39+ - name : Test
40+ run : cargo run --package tool-dev -- test ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments