|
71 | 71 | -uses:actions/cache@v3
|
72 | 72 | with:
|
73 | 73 | path:target
|
74 |
| -key:clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}y |
75 |
| - -run:| |
76 |
| - # Hack: wasm support currently relies on not having tokio with features like socket enabled. With resolver 1 |
77 |
| - # dev dependencies can add unwanted dependencies to the build, so we'll hackily disable them for this check. |
78 |
| -
|
79 |
| - sed -i 's/\[dev-dependencies]/[ignore-dependencies]/g' ./tokio-postgres/Cargo.toml |
80 |
| - cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features --features js |
| 74 | +key:check-wasm32-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }} |
| 75 | + -run:cargo check --target wasm32-unknown-unknown --manifest-path tokio-postgres/Cargo.toml --no-default-features --features js |
81 | 76 |
|
82 | 77 | test:
|
83 | 78 | name:test
|
|