Skip to content

Bump bytes from 1.7.1 to 1.7.2 #696

Bump bytes from 1.7.1 to 1.7.2

Bump bytes from 1.7.1 to 1.7.2 #696

Workflow file for this run

name: Rust
on:
# triggers when a PR is posted
pull_request:
branches: [develop]
paths-ignore:
- "**.md"
- ".github/dependabot.yml"
# triggers when a PR is merged
push:
branches: [develop]
paths-ignore:
- "**.md"
- ".github/dependabot.yml"
jobs:
build:
strategy:
matrix:
include:
- features: default
- features: aws-sdk-rust-rustls
additional_flags: --no-default-features
env:
CARGO_HOME: .cargo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
.cargo
target
# you can edit the .github/cache_bust file if you need to clear the cache
key: ${{ hashFiles('.github/cache_bust') }}-${{ hashFiles('.github/workflows/rust.yml') }}-${{ runner.os }}-${{ matrix.features }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ hashFiles('.github/cache_bust') }}-${{ hashFiles('.github/workflows/rust.yml') }}-${{ runner.os }}-${{ matrix.features }}
# print the current rustc. replace stable to pin to a specific toolchain version.
- run: rustup default stable
- run: rustup component add rustfmt
- run: rustup component add clippy
- run: cargo test --features ${{ matrix.features }} ${{ matrix.additional_flags }} --locked
- run: cargo build --features ${{ matrix.features }} ${{ matrix.additional_flags }} --locked
- run: cargo clippy --features ${{ matrix.features }} ${{ matrix.additional_flags }} --locked -- -D warnings --no-deps
- run: cargo fmt -- --check
- run: cargo install --version 0.14.24 cargo-deny --locked
- run: cargo deny --features ${{ matrix.features }} --no-default-features check --disable-fetch licenses bans sources