Skip to content

Upgrade hyper to 1.x #2

Upgrade hyper to 1.x

Upgrade hyper to 1.x #2

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: short
RUSTDOCFLAGS: -D warnings
jobs:
rustfmt:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- run: rustup component add rustfmt
- run: cargo fmt --all --check
clippy:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- run: rustup component add clippy
- name: cargo clippy
run: cargo clippy
test:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- name: cargo test
run: cargo test
- name: cargo test (all features)
run: cargo test --all-features
- name: doctests
run: cargo test --doc