Skip to content

test: bump patch to v0.0.2 #22

test: bump patch to v0.0.2

test: bump patch to v0.0.2 #22

Workflow file for this run

name: Lint Rust Code
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_call:
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- run: cargo clippy