blob: 744e3cd531ac9c6dce6f93f1a31498889d665db5 (
plain) (
blame)
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
|
name: Main
on:
push:
paths-ignore:
- 'pack'
- '**.md'
- '.gitignore'
pull_request:
paths-ignore:
- 'pack'
- '**.md'
- '.gitignore'
jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Luacheck
uses: nebularg/actions-luacheck@v1
with:
files: .
annotate: warning
format:
name: Format
runs-on: ubuntu-20.04
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: StyLua
uses: JohnnyMorganz/stylua-action@v1.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check .
|