From be2b3864431796407cae0ebbe341bf392ae6fd1e Mon Sep 17 00:00:00 2001 From: Teo Date: Mon, 27 Sep 2021 15:29:49 -0500 Subject: Improve the CI for the fmt (#103) --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..04ca8e81 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Format Checker + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + fmt: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup FMT + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + # CLI arguments + args: ./lua/ --check -- cgit v1.2.3-70-g09d2