openethereum/.github/workflows/check.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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
2021-06-28 16:39:18 +02:00
- name: Install 1.52.1 toolchain
2020-07-29 11:45:51 +02:00
uses: actions-rs/toolchain@v1
with:
2021-06-28 16:39:18 +02:00
toolchain: 1.52.1
2020-07-29 11:45:51 +02:00
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