Skip to content

add basic CI

add basic CI #1

Workflow file for this run

name: Fmt
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
fmt_and_lint:
needs: pre_ci
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
-
name: Install Rust
uses: IronCoreLabs/rust-toolchain@v1
-
name: Rust fmt
run: cargo fmt --all -- --check
-
name: Rust clippy
run: cargo clippy