openethereum/.github/workflows/check.yml

51 lines
1.9 KiB
YAML
Raw Normal View History

2020-07-29 11:45:51 +02:00
name: Check
on:
pull_request:
push:
branches:
2020-10-12 10:55:21 +02:00
- main
- dev
2020-07-29 11:45:51 +02:00
jobs:
check:
name: Check
runs-on: ubuntu-16.04
2020-07-29 11:45:51 +02:00
steps:
- name: Checkout sources
2020-10-12 10:55:21 +02:00
uses: actions/checkout@main
2020-07-29 11:45:51 +02:00
with:
submodules: true
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Run cargo check 1/3
uses: actions-rs/cargo@v1
with:
command: check
args: --locked --no-default-features --verbose
- name: Run cargo check 2/3
uses: actions-rs/cargo@v1
with:
command: check
args: --locked --manifest-path crates/runtime/io/Cargo.toml --no-default-features --verbose
2020-07-29 11:45:51 +02:00
- name: Run cargo check 3/3
uses: actions-rs/cargo@v1
with:
command: check
args: --locked --manifest-path crates/runtime/io/Cargo.toml --features "mio" --verbose
2020-07-29 11:45:51 +02:00
- name: Run cargo check evmbin
uses: actions-rs/cargo@v1
with:
command: check
args: --locked -p evmbin --verbose
- name: Run cargo check benches
uses: actions-rs/cargo@v1
with:
command: check
args: --locked --all --benches --verbose
- name: Run validate chainspecs
run: ./scripts/actions/validate-chainspecs.sh