Updated dependencies #45
This file contains hidden or 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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false | |
| - name: Configure Rust compiler | |
| run: | | |
| rustup update | |
| rustup default ${{ matrix.channel }} | |
| rustup target add ${{ matrix.target }} | |
| rustup component add clippy rustfmt | |
| - name: Formatting | |
| run: cargo fmt --check | |
| - name: Clippy all features | |
| run: cargo clippy --target ${{ matrix.target }} --workspace --examples --tests --all-features -- -D warnings | |
| - name: Clippy no features | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features -- -D warnings | |
| - name: Clippy async feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features async -- -D warnings | |
| - name: Clippy async-client feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features async-client -- -D warnings | |
| - name: Clippy async-client-rustls feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features async-client-rustls -- -D warnings | |
| - name: Clippy async-client-tls feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features async-client-tls -- -D warnings | |
| - name: Clippy client feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features client -- -D warnings | |
| - name: Clippy client-rustls feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features client-rustls -- -D warnings | |
| - name: Clippy client-tls feature | |
| run: cargo clippy --target ${{ matrix.target }} -p ipp --no-default-features --features client-tls -- -D warnings | |
| - name: Tests | |
| run: cargo test --target ${{ matrix.target }} --workspace --examples --tests --all-features | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| channel: [stable] | |
| target: | |
| - x86_64-unknown-linux-gnu |