Skip to content

deps: bump serde from 1.0.207 to 1.0.208 #25

deps: bump serde from 1.0.207 to 1.0.208

deps: bump serde from 1.0.207 to 1.0.208 #25

Workflow file for this run

name: Lint
on:
workflow_dispatch:
workflow_call:
push:
branches: ["main"]
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-gnu
profile: minimal
components: clippy
override: true
- name: Cache Cargo registry
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo clippy
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-clippy-
- name: Run clippy
run: cargo clippy -- -D warnings # Fail on clippy warnings