rename to hyper-http-proxy #1
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
name: Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: ~ | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latest stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: ${{ matrix.target }} | |
components: rustfmt,clippy | |
- name: Run rustfmt | |
run: cargo fmt --all --check | |
- name: Run clippy | |
uses: giraffate/clippy-action@v1 | |
with: | |
reporter: 'github-pr-check' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests default | |
run: cargo test | |
- name: Run tests rustls-tls-manual-roots | |
run: cargo test --no-default-features rustls-tls-manual-roots | |
- name: Run tests rustls-tls-webpki-roots | |
run: cargo test --no-default-features rustls-tls-webpki-roots | |
- name: Run tests native-tls-vendored | |
run: cargo test --no-default-features native-tls-vendored | |
- name: Run tests native-tls | |
run: cargo test --no-default-features native-tls | |
- name: Run tests all features | |
run: cargo test --all-features |