2424 RUST_LOG : debug
2525 CARGO_TERM_COLOR : always
2626 MSRV : 1.85.0
27- HACK : hack --package neo4rs --each-feature --exclude-features unstable-serde-packstream-format,unstable-bolt-protocol-impl-v2,unstable-result-summary
27+ HACK_OPTS : --each-feature --exclude-features unstable-serde-packstream-format,unstable-bolt-protocol-impl-v2,unstable-result-summary
2828
2929jobs :
3030 fmt :
7575 run : cp ci/Cargo.lock.msrv Cargo.lock
7676
7777 - name : Run clippy
78- run : cargo +$MSRV --locked ${{ env.HACK }} clippy -- -D warnings
78+ run : cargo +${{ env. MSRV }} --locked hack --package neo4rs ${{ env.HACK_OPTS }} clippy -- -D warnings
7979
8080 unit-tests :
8181 name : Run unit tests
@@ -109,7 +109,7 @@ jobs:
109109 run : cp ci/Cargo.lock.msrv Cargo.lock
110110
111111 - name : Run unit tests
112- run : cargo +$MSRV --locked ${{ env.HACK }} nextest run --lib
112+ run : cargo +${{ env. MSRV }} --locked hack --package neo4rs ${{ env.HACK_OPTS }} nextest run --lib
113113
114114 integration-tests :
115115 name : Run integration tests
@@ -153,7 +153,7 @@ jobs:
153153 uses : taiki-e/install-action@nextest
154154
155155 - name : Run integration tests
156- run : cargo {{ env.HACK }} nextest run -E 'kind(test)'
156+ run : cargo hack $ {{ env.HACK_OPTS }} nextest --manifest-path './integrationtests/Cargo.toml' run -E 'kind(test)'
157157
158158 min_dep :
159159 name : Validate minimal dependency versions
@@ -178,7 +178,7 @@ jobs:
178178 run : cp ci/Cargo.lock.min Cargo.lock
179179
180180 - name : Run minimal dependency versions unit tests
181- run : cargo +$MSRV nextest --package neo4rs run --lib --all-features --locked
181+ run : cargo +${{ env. MSRV }} nextest run --package neo4rs --lib --all-features --locked
182182
183183 release :
184184 name : Release
0 commit comments