Skip to content

chore(deps): bump Swatinem/rust-cache from 2.6.1 to 2.6.2 #4057

chore(deps): bump Swatinem/rust-cache from 2.6.1 to 2.6.2

chore(deps): bump Swatinem/rust-cache from 2.6.1 to 2.6.2 #4057

Workflow file for this run

name: Rust clippy
on:
pull_request:
push:
branches:
- master
- stable
jobs:
linter:
name: Cargo clippy
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # 0.11.0
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install system dependancies
run: |
sudo apt update
sudo apt install -y clang libclang-dev libopencv-dev
- name: Install Rust stable toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Install uniffi_bindgen
uses: actions-rs/[email protected]
with:
crate: uniffi_bindgen
version: 0.22.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Rust Cache
uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 # v2.6.2
with:
workspaces: rust -> rust/target
- name: cargo clippy
run: |
cd rust
cargo clippy --all-targets --all-features -- -D warnings