Skip to content

Commit 67e58c5

Browse files
committed
Fix some CI issues
1 parent 1df9763 commit 67e58c5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ jobs:
156156
run: cargo fetch --locked
157157
- name: Rustfmt
158158
run: cargo fmt --all -- --check
159-
- name: Rustfmt tests
160-
run: rustfmt --check tests/ui/**/*.rs
159+
- name: Rustfmt compiletests
160+
run: rustfmt --check tests/compiletests/ui/**/*.rs
161+
- name: Rustfmt difftests
162+
run: rustfmt --check tests/difftests/pipelines/**/*.rs
161163
- name: Check docs are valid
162164
run: RUSTDOCFLAGS=-Dwarnings cargo doc --no-deps
163165
- name: Check docs for `spirv-std` and `spirv-builder` on stable (for docs.rs)

tests/compiletests/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const SPIRV_TARGET_PREFIX: &str = "spirv-unknown-";
3131

3232
fn target_spec_json(target: &str) -> String {
3333
format!(
34-
"{}/../crates/spirv-builder/target-specs/{target}.json",
34+
"{}/../../crates/spirv-builder/target-specs/{target}.json",
3535
env!("CARGO_MANIFEST_DIR")
3636
)
3737
}

0 commit comments

Comments
 (0)