summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yaml')
-rw-r--r--.github/workflows/lint.yaml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index d187f497..93050bba 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -1,11 +1,11 @@
name: lint
on:
push:
- branches: '**'
+ branches: "**"
pull_request:
branches:
- - 'master'
- - 'rolling'
+ - "master"
+ - "rolling"
jobs:
lua-linter:
@@ -13,23 +13,23 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
-
+
- uses: leafo/gh-actions-lua@v8
- uses: leafo/gh-actions-luarocks@v4
- name: Use luacheck
run: luarocks install luacheck
-
+
- name: Run luacheck
- run: luacheck *.lua lua/
+ run: make lint-lua
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Run ShellCheck
- uses: ludeeus/action-shellcheck@master
- with:
- scandir: './utils'
- ignore: 'bin'
+ - uses: actions/checkout@v2
+ - name: Run ShellCheck
+ uses: ludeeus/action-shellcheck@master
+ with:
+ scandir: "./utils"
+ ignore: "bin"