Skip to content

Bump unsafe-libyaml from 0.2.9 to 0.2.10 #119

Bump unsafe-libyaml from 0.2.9 to 0.2.10

Bump unsafe-libyaml from 0.2.9 to 0.2.10 #119

Workflow file for this run

name: Lint
on:
push:
branches-ignore:
- ' '
tags-ignore:
- '*.*.*'
workflow_call:
jobs:
test:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/detect-and-install-rust-toolchain
with:
components: clippy,rustfmt
- name: Cache BuildIt
uses: actions/cache@v3
continue-on-error: true
with:
path: ./buildit/target
key: buildit-lint-${{ runner.os }}-${{ hashFiles('./buildit') }}
restore-keys: buildit-lint-${{ runner.os }}-${{ hashFiles('./buildit') }}
- name: Check code formatting
run: cargo fmt --manifest-path ./buildit/Cargo.toml -- --check
- name: Lint with Clippy
run: cargo clippy --no-deps --all-features
- name: Check code formatting (BuildIt)
run: cargo fmt -- --check
- name: Lint with Clippy (BuildIt)
run: cargo clippy --manifest-path ./buildit/Cargo.toml --all-features