Skip to content

Commit d23ee8d

Browse files
committed
Fix CI commands
1 parent b920d39 commit d23ee8d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
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

2929
jobs:
3030
fmt:
@@ -75,7 +75,7 @@ jobs:
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

Comments
 (0)