Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Feat: add lint & test workflows for CI #3

Feat: add lint & test workflows for CI

Feat: add lint & test workflows for CI #3

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install stable Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Fmt
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install stable Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: Run tests
run: cargo test --all-features -- --nocapture