Skip to content

style: apply default rustfmt to formatter module #57

style: apply default rustfmt to formatter module

style: apply default rustfmt to formatter module #57

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- 'refactor/**'
jobs:
rust:
name: Rust
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets -- -D warnings
- name: Run Rust tests
run: cargo test
- name: Check N-API feature build
run: cargo test --features napi