Merge pull request #13 from ArnaudBrousseau/release-0.3.0 #34
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 CI | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Toolchain | |
run: | | |
rustup update | |
rustup component add clippy | |
rustup install nightly | |
- name: Toolchain Info | |
run: | | |
cargo --version --verbose | |
rustc --version | |
cargo clippy --version | |
- name: Lint | |
run: | | |
cargo fmt -- --check | |
cargo clippy -- -D warnings | |
- name: Run Tests | |
run: | | |
cargo check | |
cargo test --all | |
- name: Build with --no-default-features | |
run: | | |
cargo check --no-default-features | |
cargo build --no-default-features |