Skip to content

fix some error in github action ci #3

fix some error in github action ci

fix some error in github action ci #3

Workflow file for this run

name: Format
on:
push:
branches:
- main
pull_request:
branches:
- main
- dev
jobs:
format:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install rustfmt with stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --manifest-path=Cargo.toml --all -- --check