fix: lint #21
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: MacOS | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build (native-tls) | |
run: cargo build --features native-tls | |
- name: Build (rustls) | |
run: cargo build --features rustls | |
- name: Build (unsecure) | |
run: cargo build | |
- name: Run tests | |
run: cargo test --verbose --no-default-features --features find,secure,github-actions --no-fail-fast | |
env: | |
RUST_LOG: trace | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: Clippy (unsafe) | |
run: cargo clippy -- -Dwarnings | |
- name: Clippy (native-tls) | |
run: cargo clippy --features native-tls -- -Dwarnings | |
- name: Clippy (rustls) | |
run: cargo clippy --features rustls -- -Dwarnings |