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:
Luca Capezzuto 2022-06-11 11:51:02 +02:00
parent aa2f9138f4
commit 853946b665
No known key found for this signature in database
GPG Key ID: 35B564C871E7EFEA
2 changed files with 15 additions and 7 deletions

View File

@ -1,11 +1,17 @@
name: Luacheck name: Lain
on: [push] on: [push]
permissions:
contents: read
jobs: jobs:
Luacheck_Tests: linting:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: echo "Running tests triggered by a ${{ github.event_name }} event." - run: |
- run: echo "Testing ${{ github.ref }} from ${{ github.repository }} on ${{ runner.os }}" echo "Running tests triggered by a ${{ github.event_name }} event."
echo "Testing ${{ github.ref }} from ${{ github.repository }} on ${{ runner.os }}"
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Run tests - name: Run tests

View File

@ -6,6 +6,8 @@ globals = {
"client", "screen", "mouse" "client", "screen", "mouse"
} }
-- https://luacheck.readthedocs.io/en/stable/warnings.html
ignore = { ignore = {
"131", "113",
"131"
} }