Skip to content

chore(cargo): update version to 0.12.1 #18

chore(cargo): update version to 0.12.1

chore(cargo): update version to 0.12.1 #18

Workflow file for this run

name: linting
on:
push:
branches:
- 'main'
paths:
- 'src/**/*'
- 'tests/**/*'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.rustfmt.toml'
- '.github/workflows/linting.yml'
pull_request:
branches:
- 'main'
paths:
- 'src/**/*'
- 'tests/**/*'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.rustfmt.toml'
- '.github/workflows/linting.yml'
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Enforce formatting
run: cargo fmt --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Linting
run: cargo clippy -- -D warnings