This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new d5da910aa ci(rust): use `working-directory` to set workdir (#3016)
d5da910aa is described below

commit d5da910aa57a1a16edc6c9b97f79d6a6a6c9cd3a
Author: eitsupi <[email protected]>
AuthorDate: Tue Jun 24 22:46:59 2025 +0900

    ci(rust): use `working-directory` to set workdir (#3016)
---
 .github/workflows/rust.yml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 3c8d4f78a..1f69a8267 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -120,29 +120,25 @@ jobs:
       - name: Set search dir for Snowflake Go lib
         run: echo "ADBC_SNOWFLAKE_GO_LIB_DIR=${{ github.workspace 
}}/local/lib" >> "$GITHUB_ENV"
       - name: Clippy
+        working-directory: rust
         run: |
-          pushd rust
           cargo clippy --workspace --all-targets --all-features --locked -- 
-Dwarnings
-          popd
       - name: Test
+        working-directory: rust
         run: |
-          pushd rust
           cargo test --workspace --all-targets --all-features
-          popd
         # env:
         # ADBC_SNOWFLAKE_TESTS: 1
         # ADBC_SNOWFLAKE_URI: ${{ secrets.SNOWFLAKE_URI }}
         # ADBC_SNOWFLAKE_SQL_DB: ADBC_TESTING
       - name: Doctests
+        working-directory: rust
         run: |
-          pushd rust
           cargo test --workspace --doc --all-features
-          popd
       - name: Check docs
+        working-directory: rust
         run: |
-          pushd rust
           cargo doc --workspace --all-features
-          popd
       - name: Verify MSRV (Minimum Supported Rust Version)
         if: matrix.os == 'ubuntu-latest'
         working-directory: rust

Reply via email to