-
Notifications
You must be signed in to change notification settings - Fork 72
39 lines (36 loc) · 1011 Bytes
/
lint.yml
File metadata and controls
39 lines (36 loc) · 1011 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
33
34
35
36
37
38
39
---
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
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker