Skip to content

Merge pull request #159 from nervosnetwork/quake/remove-testtool-publish #431

Merge pull request #159 from nervosnetwork/quake/remove-testtool-publish

Merge pull request #159 from nervosnetwork/quake/remove-testtool-publish #431

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust components
run: rustup component add rustfmt clippy
- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross --rev=6982b6c
- name: Check format
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --all
- name: Build
run: cargo build
- name: Install dependencies
run: cargo install --version 0.7.3 moleculec
- name: Run cargo test
run: cargo test --all
- name: Run integration tests
run: bash ./dev-tools/integration-tests.sh