From 67a4468a983cc3c2fd8bf407321a0aa979c0672d Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 19 Mar 2023 12:25:04 +0000 Subject: [PATCH] ci: check formatting --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2b41e20 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + lint: + name: Rustfmt + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run rustfmt + run: cargo fmt --all --check