Skip to content

add ci workflows

add ci workflows #1

Workflow file for this run

name: Rust
on: [push]
jobs:
build:
name: Clippy-Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout code
with:
fetch-depth: 1
- uses: actions-rs/toolchain@v1
name: Install toolchain
with:
toolchain: stable
target: x86_64-unknown-linux-musl
- uses: actions-rs/cargo@v1
name: Check formatting
with:
command: fmt
args: -- --check
- uses: actions-rs/cargo@v1
name: Run clippy
with:
command: clippy