Merge pull request #140 from DMDcoin/alpha4 #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@main | |
with: | |
submodules: true | |
- name: Install 1.59 toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.72 | |
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 | |
- 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 | |
- 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 |