mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
Fail dependant checks on cargo check warnings (#13922)
* Fail dependant checks on cargo check warnings * Adjust feature flags for check-dependent-polkadot
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
extends:
|
extends:
|
||||||
- .docker-env
|
- .docker-env
|
||||||
- .test-refs-no-trigger-prs-only
|
- .test-refs-no-trigger-prs-only
|
||||||
|
variables:
|
||||||
|
RUSTFLAGS: "-D warnings"
|
||||||
script:
|
script:
|
||||||
- git clone
|
- git clone
|
||||||
--depth=1
|
--depth=1
|
||||||
@@ -35,6 +37,10 @@ check-dependent-polkadot:
|
|||||||
COMPANION_OVERRIDES: |
|
COMPANION_OVERRIDES: |
|
||||||
substrate: polkadot-v*
|
substrate: polkadot-v*
|
||||||
polkadot: release-v*
|
polkadot: release-v*
|
||||||
|
# enable the same feature flags as polkadot's test-linux-stable
|
||||||
|
COMPANION_CHECK_COMMAND: >
|
||||||
|
cargo check --all-targets --workspace
|
||||||
|
--features=runtime-benchmarks,runtime-metrics,try-runtime
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ #PRs
|
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ #PRs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user