From 0e92eda12308e7fa7dd3d670d73a5d781093b526 Mon Sep 17 00:00:00 2001 From: cascode Date: Sat, 21 Oct 2023 01:15:35 -0700 Subject: [PATCH] add automated format check --- .gitea/workflows/checks.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/checks.yml diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml new file mode 100644 index 0000000..5a3353d --- /dev/null +++ b/.gitea/workflows/checks.yml @@ -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