Bump version to 2.11.1 #79
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: lint | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Crate | |
uses: actions/checkout@v3 | |
- name: Set Toolchain | |
# https://github.com/dtolnay/rust-toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Run rustfmt | |
run: rustfmt --check src/lib.rs | |
- name: Run cargo doc | |
run: cargo doc --features "punycode proxy json-using-serde https" | |
- name: Run clippy | |
run: | | |
cargo clippy --all-targets --features "punycode proxy json-using-serde https-rustls" -- --no-deps -D warnings | |
cargo clippy --all-targets --features "punycode proxy json-using-serde https-rustls-probe" -- --no-deps -D warnings | |
cargo clippy --all-targets --features "punycode proxy json-using-serde https-bundled" -- --no-deps -D warnings | |
cargo clippy --all-targets --features "punycode proxy json-using-serde https-bundled-probe" -- --no-deps -D warnings | |
cargo clippy --all-targets --features "punycode proxy json-using-serde https-native" -- --no-deps -D warnings |