diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-02-25 01:55:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 01:55:49 +0100 |
commit | 9de0d9346cf5c17cd4a96c58ad326919bd8d27ed (patch) | |
tree | 2e50782f6fc265c6063654df40f54c09a22c1be8 /.github/workflows/luacheck.yml | |
parent | 0cb19e1617d735e815e9747a53b6d9f3b3bd568b (diff) | |
download | luasystem-9de0d9346cf5c17cd4a96c58ad326919bd8d27ed.tar.gz luasystem-9de0d9346cf5c17cd4a96c58ad326919bd8d27ed.tar.bz2 luasystem-9de0d9346cf5c17cd4a96c58ad326919bd8d27ed.zip |
chore(ci): lint GH action workflows (#49)
Co-authored-by: cos <cos>
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/luacheck.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 9cb784c..b268e4f 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml | |||
@@ -1,3 +1,4 @@ | |||
1 | --- | ||
1 | name: Luacheck | 2 | name: Luacheck |
2 | 3 | ||
3 | on: [push, pull_request] | 4 | on: [push, pull_request] |
@@ -11,3 +12,18 @@ jobs: | |||
11 | uses: actions/checkout@v4 | 12 | uses: actions/checkout@v4 |
12 | - name: Luacheck | 13 | - name: Luacheck |
13 | uses: lunarmodules/luacheck@v1 | 14 | uses: lunarmodules/luacheck@v1 |
15 | |||
16 | yamllint: | ||
17 | name: Run yamllint | ||
18 | runs-on: ubuntu-latest | ||
19 | |||
20 | steps: | ||
21 | - name: Checkout repository | ||
22 | uses: actions/checkout@v4 | ||
23 | - name: Set up Python | ||
24 | uses: actions/setup-python@v5 | ||
25 | - name: Install yamllint | ||
26 | run: pip install yamllint | ||
27 | - name: Run yamllint | ||
28 | run: | | ||
29 | yamllint -c .github/workflows/.yamllint.yaml . | ||