chore: use crate version for cargo publish #403
Workflow file for this run
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: 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 |