Fix panic in Uri::try_from
#237
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: ["main"] | |
name: CI | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust nightly | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Test with default features | |
run: cargo test | |
- name: Test with all features | |
run: cargo test --all-features | |
- name: Test with no features | |
run: cargo test --tests --no-default-features | |
- name: Test with feature std | |
run: cargo test --tests --no-default-features -F std | |
- name: Test with feature net | |
run: cargo test --tests --no-default-features -F net |