Skip to content

Commit 0887d22

Browse files
committed
Make job names independent of runner settings
1 parent c56ddf2 commit 0887d22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
run: cargo fmt --all -- --check
4545

4646
cargo-clippy:
47+
name: cargo-clippy (${{ strategy.job-index == 0 && 'Linux' || (strategy.job-index == 1 && 'Windows' || 'macOS') }})
4748
strategy:
4849
matrix:
4950
# Disable spot instances in the GitHub merge queue, and disable runs-on entirely for forks
@@ -246,6 +247,7 @@ jobs:
246247
cargo -Zgitoxide -Zgit build --locked --package auto-id-domain-runtime
247248
248249
cargo-test:
250+
name: cargo-test (${{ strategy.job-index == 0 && 'Linux' || (strategy.job-index == 1 && 'Windows' || 'macOS') }})
249251
strategy:
250252
matrix:
251253
os: ${{ fromJson(github.repository_owner == 'autonomys' &&

0 commit comments

Comments
 (0)