Skip to content

Commit d930004

Browse files
committed
workaround dev deps adding unwanted features
1 parent edc7fde commit d930004

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ jobs:
7272
with:
7373
path: target
7474
key: clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
75-
- run: cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features
75+
- run: |
76+
sed -i 's/\[dev-dependencies]/[ignore-dependencies]/g' tokio-postgres/Cargo.toml
77+
cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features
7678
7779
test:
7880
name: test

0 commit comments

Comments
 (0)