Merge pull request #9 from HerodotusDev/signer #37
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: Install clippy | |
run: rustup component add clippy | |
- name: Install rustfmt | |
run: rustup component add rustfmt | |
- name: Run clippy for native | |
run: cargo clippy --all --all-targets -- -D warnings | |
- name: Run fmt | |
run: cargo fmt -- --check | |
- name: Run tests | |
run: cargo test --all --all-targets -- --nocapture |