removed no_std keyword because we can't have more then 5 keywords #30
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: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build & test on ${{ matrix.os }}. | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install cargo-audit | |
run: cargo install cargo-audit | |
- name: Build | |
run: cargo build --all-features --verbose | |
- name: Run tests | |
run: cargo test --all-features --verbose | |
- name: Clippy | |
run: cargo clippy --all-features --verbose -- -D warnings | |
- name: Audit | |
run: cargo audit |