Skip to content

Bump tempfile from 3.10.1 to 3.11.0 #690

Bump tempfile from 3.10.1 to 3.11.0

Bump tempfile from 3.10.1 to 3.11.0 #690

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
- 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