Skip to content

Commit c91d672

Browse files
committed
ci: only nightly lint on linux
1 parent b2ae628 commit c91d672

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,13 @@ jobs:
158158
echo "ADBC_DRIVER_MANAGER_TEST_LIB=${{ github.workspace }}/local/bin/adbc_driver_sqlite.dll" >> "$GITHUB_ENV"
159159
- name: Set search dir for Snowflake Go lib
160160
run: echo "ADBC_SNOWFLAKE_GO_LIB_DIR=${{ github.workspace }}/local/lib" >> "$GITHUB_ENV"
161+
- name: Clippy
162+
if: runner.os != 'Linux' && ! matrix.minimal-versions
163+
working-directory: rust
164+
run: |
165+
cargo clippy --workspace --all-targets --all-features --locked -- -Dwarnings
161166
- name: Clippy (nightly)
162-
if: ${{ ! matrix.minimal-versions }}
167+
if: runner.os == 'Linux' && ! matrix.minimal-versions
163168
working-directory: rust
164169
run: |
165170
rustup toolchain install nightly

0 commit comments

Comments
 (0)