Skip to content

Rewrite CI ( Include CI for Cross-compilation) #84

Rewrite CI ( Include CI for Cross-compilation)

Rewrite CI ( Include CI for Cross-compilation) #84

Workflow file for this run

name: Rust
on:
push:
branches:
- master
pull_request: {}
workflow_dispatch: {}
jobs:
check-format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check format
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Check format
run: cargo clippy