Merge pull request #120 from c410-f3r/master #135
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 nightly Rust | |
run: | | |
rustup toolchain install nightly | |
rustup default nightly | |
- name: Check rustfmt | |
run: | | |
rustup component add rustfmt --toolchain stable | |
cargo +stable fmt --all -- --check | |
- run: cargo install cargo-fuzz | |
- name: Run tests | |
run: ./ci/script.sh |