Skip to content

[chuchi] Publish v0.1.1 fix docs #8

[chuchi] Publish v0.1.1 fix docs

[chuchi] Publish v0.1.1 fix docs #8

Workflow file for this run

on:
push:
branches: [master]
pull_request:
branches: [master]
env:
RUSTFLAGS: -Dwarnings
# change manually in matrix
rust_min: 1.74.0
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- 1.74.0
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test
test_no_features:
name: Test No features
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- 1.74.0
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --no-default-features
test_msrv_features:
name: Test some features
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- 1.74.0
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --features "json,fs,http1,http2,ws"
test_all_features:
name: Test All features
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --all-features
clippy:
name: Run Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
components: clippy
- run: cargo clippy