Skip to content

Commit 269bc59

Browse files
authored
ci: fix tests.yml (#799)
In #794 I used `working_directory` instead of `working-directory`. Unfortunately, it resulted in a silent failure since `tests.yml` was ignored as an invalid config.
1 parent 1fce070 commit 269bc59

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,22 @@ jobs:
8181
custom_impl:
8282
name: Custom and External Implementations
8383
runs-on: ubuntu-24.04
84+
defaults:
85+
run:
86+
working-directory: custom_impl_test
8487
steps:
8588
- uses: actions/checkout@v6
8689
- uses: dtolnay/rust-toolchain@master
8790
with:
8891
toolchain: nightly
8992
- uses: Swatinem/rust-cache@v2
90-
- env:
93+
- name: Test getrandom_backend="custom"
94+
env:
9195
RUSTFLAGS: -Dwarnings --cfg getrandom_backend="custom"
92-
working_directory: custom_impl_test
9396
run: cargo test
94-
- env:
97+
- name: Test getrandom_backend="extern_impl"
98+
env:
9599
RUSTFLAGS: -Dwarnings --cfg getrandom_backend="extern_impl"
96-
working_directory: custom_impl_test
97100
run: cargo test
98101

99102
ios:

0 commit comments

Comments
 (0)