File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ members = [
10
10
" postgres-types" ,
11
11
" tokio-postgres" ,
12
12
]
13
+ resolver = " 2"
13
14
14
15
[profile .release ]
15
16
debug = 2
You can’t perform that action at this time.
0 commit comments