Bump async-trait from 0.1.81 to 0.1.82 #695
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: 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 |