Update http requirement from 0.2 to 1.0 #89
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
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
name: Continuous integration | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
- nightly | |
- 1.69.0 | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-latest | |
cargo_flags: | |
- "--all-features" | |
- "--no-default-features" | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
name: Checkout | |
- uses: actions-rs/toolchain@v1 | |
name: Verify Rust Toolchain | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
components: rustfmt, clippy | |
- uses: actions-rs/cargo@v1 | |
name: Clippy Lint | |
with: | |
command: clippy | |
args: ${{ matrix.cargo_flags }} --all-targets -- -D warnings | |
- uses: actions-rs/cargo@v1 | |
name: Build | |
with: | |
command: build | |
args: ${{ matrix.cargo_flags }} --verbose | |
- uses: actions-rs/cargo@v1 | |
name: Unit Tests | |
with: | |
command: test | |
args: ${{ matrix.cargo_flags }} | |
- uses: actions-rs/cargo@v1 | |
name: Format Check | |
with: | |
command: fmt | |
args: --all -- --check | |
- uses: actions-rs/cargo@v1 | |
name: Build Documentation | |
with: | |
command: doc | |
args: ${{ matrix.cargo_flags }} --no-deps |