From 7cfad0d2ce660b0b6fdaa90c38647053b4924e61 Mon Sep 17 00:00:00 2001 From: mmynk Date: Fri, 19 Apr 2024 14:39:35 +0000 Subject: [PATCH] Add a linter job to the ci workflow --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80d276a6..c91274ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,14 @@ on: workflow_dispatch: jobs: + rustfmt: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + - name: Run linter + run: > + cargo fmt --check + build_test: runs-on: ubuntu-22.04 steps: