style+perf: clean-up and optimize remove_empty_byte_from_padded_bytes_unchecked fn #157
Workflow file for this run
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: Rust | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "*" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --verbose | |
- name: Clippy Format test | |
run: cargo clippy --all --manifest-path Cargo.toml -- -D warnings | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Run tests with mainnet data | |
run: KZG_ENV=mainnet-data cargo test --verbose | |
- name: Fmt check | |
run: cargo +nightly fmt --all -- --check | |