Skip to content

Update workflows

Update workflows #118

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint and Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Rust
run: rustup toolchain install stable --profile minimal --component clippy rustfmt --no-self-update
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- run: cargo check
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features
- run: cargo test --all-features