Skip to content

Bump tokio from 1.36.0 to 1.37.0 #667

Bump tokio from 1.36.0 to 1.37.0

Bump tokio from 1.36.0 to 1.37.0 #667

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 }}
- run: rustup default 1.71.1
- 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.1 cargo-deny --locked
- run: cargo deny --features ${{ matrix.features }} --no-default-features check --disable-fetch licenses bans sources