aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-07-09 22:22:23 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-09 22:34:34 +0200
commit0e041bd343ac8cf62c4c524af0fddf4cb49b643d (patch)
tree4e50b3ddd32597bfb2366c0cbb87704301754db2 /.github/workflows/lint.yml
parentdocs: update README.md for Rust (diff)
downloadnvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.gz
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.bz2
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.lz
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.xz
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.zst
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.zip
ci: use GH Actions istead of Travis CI
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 000000000..41ee77272
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,20 @@
+name: Linting and style checking
+
+on: [push, pull_request]
+
+jobs:
+ luacheck:
+ name: Luacheck
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+
+ - name: Prepare
+ run: |
+ sudo apt-get update
+ sudo add-apt-repository universe
+ sudo apt install luarocks -y
+ sudo luarocks install luacheck
+
+ - name: Run Luacheck
+ run: ./scripts/style-check.sh