Skip to content

Commit 67ff87b

Browse files
committed
Merge branch 'master' of https://github.com/CuteOne/BadRotations
2 parents f4598c2 + 0d53b99 commit 67ff87b

File tree

3 files changed

+3988
-11
lines changed

3 files changed

+3988
-11
lines changed

Diff for: .github/workflows/discord_notification.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- '.github/**'
77
- '.gitignore'
88
- '.gitattributes'
9+
- '.luacheckrc'
910
- 'config.ld'
1011
- 'README.md'
1112
- 'LICENSE'

Diff for: .github/workflows/lint.yaml

+60-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,65 @@
1-
name: Lint
2-
on: [push]
1+
# name: Lint
2+
# on: [push, pull_request]
33

4+
# jobs:
5+
# lint:
6+
# name: Lint
7+
# runs-on: ubuntu-latest
8+
# steps:
9+
# - name: checkout
10+
# uses: actions/checkout@v4
11+
# with:
12+
# repository: 'CuteOne/BadRotations'
13+
# - name: wow-lint
14+
# uses: davidcraig/[email protected]
15+
# with:
16+
# path-to-files: '**/*.lua'
17+
18+
# name: Lint
19+
20+
# on: [push, pull_request, workflow_dispatch]
21+
22+
# concurrency:
23+
# group: ${{ github.workflow }}-${{ github.ref }}
24+
# cancel-in-progress: ${{ github.event_name == 'pull_request' }}
25+
26+
# jobs:
27+
# lua-check:
28+
# name: Lua Check
29+
# runs-on: ubuntu-latest
30+
# permissions:
31+
# contents: read
32+
# issues: read
33+
# checks: write
34+
# pull-requests: write
35+
# if: (github.actor != 'dependabot[bot]')
36+
37+
# steps:
38+
# - name: Checkout source code
39+
# uses: actions/checkout@v4
40+
41+
# # Optional step to run on only changed files
42+
# - name: Get changed files
43+
# id: changed-files
44+
# uses: tj-actions/changed-files@v44
45+
# with:
46+
# files: |
47+
# **.lua
48+
49+
# - name: Lua Check
50+
# if: steps.changed-files.outputs.any_changed == 'true'
51+
# uses: Kong/public-shared-actions/code-check-actions/lua-lint@main
52+
# with:
53+
# additional_args: '--no-default-config --config ../../.luacheckrc'
54+
# files: ${{ steps.changed-files.outputs.all_changed_files }}
55+
56+
name: Luacheck
57+
on: [push, pull_request]
458
jobs:
5-
lint:
6-
name: Lint
59+
sile:
760
runs-on: ubuntu-latest
861
steps:
9-
- name: checkout
62+
- name: Checkout
1063
uses: actions/checkout@v4
11-
with:
12-
repository: 'ps-wow/action-test-repo'
13-
- name: wow-lint
14-
uses: davidcraig/[email protected]
15-
with:
16-
path-to-files: '**/*.lua'
64+
- name: Luacheck linter
65+
uses: lunarmodules/luacheck@v1

0 commit comments

Comments
 (0)