Skip to content

Commit f56d527

Browse files
committed
Add shopt for bash
1 parent 3f435fe commit f56d527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ jobs:
157157
- name: Rustfmt
158158
run: cargo fmt --all -- --check
159159
- name: Rustfmt compiletests
160-
run: rustfmt --check tests/compiletests/ui/**/*.rs
160+
run: shopt -s globstar && rustfmt --check tests/compiletests/ui/**/*.rs
161161
- name: Rustfmt difftests
162-
run: rustfmt --check tests/difftests/pipelines/**/*.rs
162+
run: shopt -s globstar && rustfmt --check tests/difftests/pipelines/**/*.rs
163163
- name: Check docs are valid
164164
run: RUSTDOCFLAGS=-Dwarnings cargo doc --no-deps
165165
- name: Check docs for `spirv-std` and `spirv-builder` on stable (for docs.rs)

0 commit comments

Comments
 (0)