Skip to content

fix: add comatibility with older versions #23

fix: add comatibility with older versions

fix: add comatibility with older versions #23

Workflow file for this run

name: Lint
on: {push, workflow_dispatch}
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Rustfmt
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Clippy
run: cargo clippy -- -D warnings