ignore dev deps in wasm ci
This commit is contained in:
parent
edc7fdecfb
commit
1f8fb7a16c
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -72,7 +72,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: target
|
path: target
|
||||||
key: clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
|
key: clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y
|
||||||
- run: cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features
|
- run: |
|
||||||
|
# Hack: wasm support currently relies on not having tokio with features like socket enabled. With resolver 1
|
||||||
|
# dev dependencies can add unwanted dependencies to the build, so we'll hackily disable them for this check.
|
||||||
|
|
||||||
|
sed -i 's/\[dev-dependencies]/[ignore-dependencies]/g' ./tokio-postgres/Cargo.toml
|
||||||
|
cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: test
|
name: test
|
||||||
|
Loading…
Reference in New Issue
Block a user