summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTeo <malehurtadoreyes@hotmail.com>2021-09-27 15:29:49 -0500
committerGitHub <noreply@github.com>2021-09-27 22:29:49 +0200
commitbe2b3864431796407cae0ebbe341bf392ae6fd1e (patch)
treede6797dfbcaff5a32d682d62bbebe55f398461ae /.github
parentfeat: add a logger based on plenary.log (#99) (diff)
downloadmason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar
mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.gz
mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.bz2
mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.lz
mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.xz
mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.tar.zst
mason-be2b3864431796407cae0ebbe341bf392ae6fd1e.zip
Improve the CI for the fmt (#103)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
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