-
Notifications
You must be signed in to change notification settings - Fork 72
32 lines (30 loc) · 820 Bytes
/
lint.yml
File metadata and controls
32 lines (30 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
name: Lint
on:
workflow_dispatch:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lua:
name: Lua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt-get install lua-check
- name: Lint Lua
run: luacheck .
sh:
name: Shell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
# Make sure the action is pinned to a commit, as all reviewdog repos
# have hundreds of contributors with write access (breaks easy/often)
uses: reviewdog/action-shellcheck@5ebd09ddbe2ebb471646ce234c6c8dd18663ca7c # v1.30.0
with:
fail_level: any
check_all_files_with_shebangs: true
filter_mode: nofilter