Update rustls-pemfile to 2.2.0. (#49) #2
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: | |
| branches: [ main, next ] | |
| pull_request: | |
| branches: [ main, next ] | |
| # Allow triggering manually. | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build_and_test_with_default_features: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: [1.88.0, stable, beta] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| cache: false | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| build_and_test_with_extra_features: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: [stable] | |
| args: [ | |
| "--features tls-with-openssl --example demo", | |
| "--features tls-with-rustls --example demo", | |
| "--no-default-features --features sync", | |
| "--no-default-features --features async-with-tokio", | |
| "--no-default-features --example demo --features tls-with-openssl", | |
| "--no-default-features --example demo --features tls-with-rustls", | |
| "--no-default-features --example demo --features tls-with-tokio-native-tls", | |
| "--no-default-features --example demo --features tls-with-tokio-rustls", | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| cache: false | |
| - name: Build | |
| run: cargo build ${{ matrix.args }} --verbose | |
| - name: Run tests | |
| run: cargo test ${{ matrix.args }} --verbose |