File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ concurrency:
1414
1515jobs :
1616 test :
17- name : Test
17+ name : test
1818 strategy :
1919 fail-fast : false
2020 matrix :
7979 [[ "${{ needs.lint.result }}" == "success" ]] || exit 1
8080
8181 xtask-test :
82- name : xtask test
82+ name : xtask test & lint
8383 runs-on : ubuntu-24.04
8484 steps :
8585 - uses : actions/checkout@v4
@@ -108,7 +108,11 @@ jobs:
108108 run : cd xtask && cargo clippy --all-targets -- -D warnings
109109
110110 lint :
111- name : Lint
111+ name : lint
112+ strategy :
113+ fail-fast : false
114+ matrix :
115+ integration : [ "cargo-gpu", "spirv-builder" ]
112116 runs-on : ubuntu-24.04
113117 steps :
114118 - uses : actions/checkout@v4
@@ -126,14 +130,14 @@ jobs:
126130 - name : xtask build
127131 run : cd xtask && cargo build
128132 - name : xtask generate
129- run : cargo xtask generate
133+ run : cargo xtask generate ${{ matrix.integration }}
130134 # no --locked, templates need to generate their lockfile
131135 - name : cargo fetch
132- run : cargo xtask generate -x "cargo fetch"
136+ run : cargo xtask generate ${{ matrix.integration }} -x "cargo fetch"
133137 - name : fmt
134- run : cargo xtask generate -x "cargo fmt --all -- --check"
138+ run : cargo xtask generate ${{ matrix.integration }} -x "cargo fmt --all -- --check"
135139 - name : clippy
136- run : cargo xtask generate -x "cargo clippy --all-targets -- -D warnings"
140+ run : cargo xtask generate ${{ matrix.integration }} -x "cargo clippy --all-targets -- -D warnings"
137141
138142defaults :
139143 run :
You can’t perform that action at this time.
0 commit comments