From 63821d1360852d17d191543d752abd819658c8a3 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Mon, 2 Feb 2026 07:26:49 +0300 Subject: [PATCH 1/2] ci: fix tests config --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d869dd282..4b114692c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -81,6 +81,9 @@ jobs: custom_impl: name: Custom and External Implementations runs-on: ubuntu-24.04 + defaults: + run: + working-directory: custom_impl_test steps: - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@master @@ -89,11 +92,9 @@ jobs: - uses: Swatinem/rust-cache@v2 - env: RUSTFLAGS: -Dwarnings --cfg getrandom_backend="custom" - working_directory: custom_impl_test run: cargo test - env: RUSTFLAGS: -Dwarnings --cfg getrandom_backend="extern_impl" - working_directory: custom_impl_test run: cargo test ios: From bf483e54b44b7d34e3bddd0a19430d7dacfa4fc4 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Mon, 2 Feb 2026 07:32:21 +0300 Subject: [PATCH 2/2] Add step names --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4b114692c..25f2891bb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -90,10 +90,12 @@ jobs: with: toolchain: nightly - uses: Swatinem/rust-cache@v2 - - env: + - name: Test getrandom_backend="custom" + env: RUSTFLAGS: -Dwarnings --cfg getrandom_backend="custom" run: cargo test - - env: + - name: Test getrandom_backend="extern_impl" + env: RUSTFLAGS: -Dwarnings --cfg getrandom_backend="extern_impl" run: cargo test