Skip to content

Backend: format

Backend: format #83

name: backend-format
run-name: "Backend: format"
on:
push:
branches:
- main
pull_request:
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- name: Check rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check