propose_call to submit_call #164
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: CI | |
on: [push] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: add nightly toolchain | |
run: rustup update nightly | |
- name: Format code | |
run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu && cargo +nightly fmt -- --check | |
- name: Build | |
run: cargo build --verbose | |
- name: Clippy | |
run: cargo clippy --bins --tests --examples -- | |
- name: Run tests | |
run: cargo test | |