Fix CI
This commit is contained in:
parent
d3ba83405c
commit
814526a248
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --locked --manifest-path util/io/Cargo.toml --no-default-features --verbose
|
||||
args: --locked --manifest-path crates/runtime/io/Cargo.toml --no-default-features --verbose
|
||||
- name: Run cargo check 3/3
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
@ -8,13 +8,14 @@ ERR=0
|
||||
echo "________Validate chainspecs________"
|
||||
time cargo build --release -p chainspec --verbose --color=always
|
||||
|
||||
for spec in ethcore/res/*.json; do
|
||||
for spec in crates/ethcore/res/chainspec/*.json; do
|
||||
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
||||
done
|
||||
|
||||
for spec in ethcore/res/ethereum/*.json; do
|
||||
for spec in crates/ethcore/res/chainspec/test/*.json; do
|
||||
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
||||
done
|
||||
|
||||
#show sccache statistics
|
||||
#sccache --stop-server
|
||||
exit $ERR
|
||||
|
Loading…
Reference in New Issue
Block a user