feat(zip)!: reject over-long file names with validated ZipPath type #17
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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| cargo-deny: | |
| name: cargo-deny | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: EmbarkStudios/cargo-deny-action@v2 | |
| fmt: | |
| name: rustfmt / 1.95.0 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@1.95.0 | |
| with: | |
| components: rustfmt | |
| - name: Rust rustfmt | |
| run: cargo fmt --all -- --check | |
| clippy: | |
| name: clippy / 1.95.0 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@1.95.0 | |
| with: | |
| components: clippy | |
| - name: Run clippy | |
| run: cargo clippy --locked --all-features -- -D warnings | |
| test: | |
| name: test / ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - name: stable | |
| rust: stable | |
| - name: beta | |
| rust: beta | |
| - name: nightly | |
| rust: nightly | |
| - name: 1.88.0 | |
| rust: 1.88.0 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| - name: Run tests (default features) | |
| run: cargo test --locked | |
| - name: Run tests (no default features) | |
| run: cargo test --locked --no-default-features | |
| - name: Run tests (all features) | |
| run: cargo test --locked --all-features |