aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGiuseppe Gadola <67549788+giusgad@users.noreply.github.com>2023-01-28 14:34:42 +0100
committerGitHub <noreply@github.com>2023-01-28 14:34:42 +0100
commit1c414d807e36af4520912c88f9b8ef93467dce38 (patch)
tree22ab604e3824624018c43e28b57b7e8768b7d910 /.github/workflows
Initial commit
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/default.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml
new file mode 100644
index 0000000..ec9986d
--- /dev/null
+++ b/.github/workflows/default.yml
@@ -0,0 +1,32 @@
+---
+on: [push, pull_request]
+name: default
+
+jobs:
+ stylua:
+ name: stylua
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: JohnnyMorganz/stylua-action@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: --color always --check lua
+
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ nvim-versions: ['stable', 'nightly']
+ name: test
+ steps:
+ - name: checkout
+ uses: actions/checkout@v3
+
+ - uses: rhysd/action-setup-vim@v1
+ with:
+ neovim: true
+ version: ${{ matrix.nvim-versions }}
+
+ - name: run tests
+ run: make test