Skip to content

Merge pull request #151 from gpBlockchain/develop #409

Merge pull request #151 from gpBlockchain/develop

Merge pull request #151 from gpBlockchain/develop #409

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