Skip to content

Update Rust crate bytes to v1.8.0 #199

Update Rust crate bytes to v1.8.0

Update Rust crate bytes to v1.8.0 #199

Workflow file for this run

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