Optimize GzipEncoder to not allocate for header and footer (#431) #835
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: lint | |
| env: | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| fmt: | |
| name: cargo fmt --check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: { components: rustfmt } | |
| - run: cargo fmt --all -- --check | |
| clippy: | |
| name: cargo clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: { components: clippy } | |
| - run: cargo --locked clippy --no-deps --all --all-targets --all-features -- -D warnings | |
| on: | |
| push: | |
| branches: [main] | |
| merge_group: | |
| types: [checks_requested] | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened, ready_for_review] |