add automated format check

This commit is contained in:
cascode _ 2023-10-21 01:15:35 -07:00 committed by cascode
parent 1247acc413
commit 3f6b9bcd1d
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
name: checks
on:
- push
- pull_request
jobs:
lint:
runs_on: "alpine_amd64"
container:
image: "rust:1.73-alpine3.18"
name: format
steps:
- name: rustfmt
run: cargo fmt --check