Allow iterating over audiences #38
Workflow file for this run
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: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.71.0 | |
default: true | |
profile: minimal | |
components: rustfmt, clippy | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
profile: minimal | |
- name: cargo fmt | |
run: cargo fmt -- --check | |
- name: cargo test --benches | |
run: cargo +nightly test --benches && rm -r benches | |
- name: cargo test | |
env: | |
RUSTFLAGS: -D warnings | |
run: cargo test --all-targets | |
- name: cargo clippy | |
run: cargo clippy --all-targets -- -D clippy::all && cargo clippy --no-default-features --all-targets -- -D clippy::all |