Update Rust crate bytes to v1.8.0 #199
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: Review | |
on: | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- '.github/workflows/review.yml' | |
env: | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
rust: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Get Rust toolchain | |
id: toolchain | |
run: | | |
awk -F'[ ="]+' '$1 == "channel" { print "toolchain=" $2 }' rust-toolchain >> "$GITHUB_OUTPUT" | |
- name: install clippy | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ steps.toolchain.outputs.toolchain }} | |
components: clippy | |
- name: cache dependencies | |
uses: Swatinem/rust-cache@v2.7.3 | |
- name: clippy check | |
uses: sksat/action-clippy@v1.0.0 | |
with: | |
reporter: github-pr-review | |
- name: unit test | |
run: | | |
cargo test --no-run --locked | |
cargo test |