mirror of https://github.com/lcpz/lain.git
Luacheck: ignore W113 too; GitHub Action: specify permissions
Ignoring W113 safely avoids warnings due to Awesome modules not found by Luacheck. Signed-off-by: Luca Capezzuto <luca.cpz@gmail.com>
This commit is contained in:
parent
aa2f9138f4
commit
853946b665
|
@ -1,11 +1,17 @@
|
|||
name: Luacheck
|
||||
name: Lain
|
||||
|
||||
on: [push]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
Luacheck_Tests:
|
||||
linting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Running tests triggered by a ${{ github.event_name }} event."
|
||||
- run: echo "Testing ${{ github.ref }} from ${{ github.repository }} on ${{ runner.os }}"
|
||||
- run: |
|
||||
echo "Running tests triggered by a ${{ github.event_name }} event."
|
||||
echo "Testing ${{ github.ref }} from ${{ github.repository }} on ${{ runner.os }}"
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
- name: Run tests
|
||||
|
|
|
@ -6,6 +6,8 @@ globals = {
|
|||
"client", "screen", "mouse"
|
||||
}
|
||||
|
||||
-- https://luacheck.readthedocs.io/en/stable/warnings.html
|
||||
ignore = {
|
||||
"131",
|
||||
"113",
|
||||
"131"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue