chore: Release crates_io_api version 0.9.0 #94
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: | |
branches: [ main ] | |
pull_request: | |
# Automatically cancel previous workflow runs when a new commit is pushed. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust-channel: [stable, nightly] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Check formatting | |
run: cargo fmt --check | |
- name: Clippy lints | |
run: cargo clippy -- --deny warnings | |
- name: Test | |
run: cargo test --verbose |