Bump version to 1.1.0 #209
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] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
toolchain: [stable, nightly] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.rustup/toolchains/nightly-* | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-${{ matrix.toolchain }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Install nightly toolchain | |
run: rustup install nightly | |
if: matrix.toolchain == 'nightly' | |
- name : Install clippy | |
run: rustup component add clippy --toolchain ${{ matrix.toolchain }} | |
- name: Run clippy | |
run: cargo +${{ matrix.toolchain }} clippy --release --all-features --verbose | |
- name: Run tests | |
run: cargo +${{ matrix.toolchain }} test --release --all-features --verbose |