Skip to content

chore(deps): bump mikefarah/yq from 4.40.5 to 4.41.1 #5921

chore(deps): bump mikefarah/yq from 4.40.5 to 4.41.1

chore(deps): bump mikefarah/yq from 4.40.5 to 4.41.1 #5921

Workflow file for this run

name: Cargo Clippy
on:
push:
pull_request:
merge_group:
# Ensure that only a single job or workflow using the same concurrency group will run at a time.
# see https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
# only needs to check the group's latest commit
cancel-in-progress: true
jobs:
cargo-clippy:
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
os: [ubuntu-22.04]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Cache of Cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-clippy-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-clippy
${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo
- name: Install cargo-clippy
run: rustup component add clippy
- name: Run cargo-clippy in Makefile
run: make clippy && git diff --exit-code Cargo.lock