chore(deps): bump bytes from 1.6.0 to 1.6.1 #2369
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: Check | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
paths: | |
- ".github/workflows/check.yml" | |
- ".cargo/**" | |
- "benches/**" | |
- "ci/bench/**" | |
- "lib/**" | |
- "src/**" | |
- "tests/**" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "rust-toolchain" | |
- "ci/**" | |
- "Makefile" | |
env: | |
CI: true | |
RUST_TEST_THREADS: 1 | |
RUST_BACKTRACE: full | |
PROFILE: debug | |
jobs: | |
cancel-previous: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 3 | |
if: github.ref != 'refs/heads/master' | |
steps: | |
- uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
all_but_latest: true # can cancel workflows scheduled later | |
style: | |
name: "Style Checks" | |
runs-on: ubuntu-20.04 | |
needs: | |
- cancel-previous | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- name: Install Shellcheck | |
run: sudo apt-get install -y shellcheck | |
- name: Install Protoc | |
run: sh ci/install_protoc.sh | |
- name: Install clippy & rustfmt | |
run: rustup component add clippy rustfmt | |
- name: Check shell | |
run: bash ci/check-scripts.sh | |
- name: Check fmt | |
run: cargo fmt -- --check | |
- name: Check rust | |
run: make check_clippy |