Skip to content

Distro reworx

Distro reworx #13

Workflow file for this run

name: lint
on:
pull_request:
branches:
- "main"
paths:
- init.lua
- "lua/**"
- "snapshots/**"
- "tests/**"
- "utils/conf/**"
jobs:
lua-linter:
name: "Linting with luacheck"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: leafo/gh-actions-lua@v8
- uses: leafo/gh-actions-luarocks@v4
- name: Use luacheck
run: luarocks install luacheck
- name: Run luacheck
run: make lint-lua
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: >-
"./scripts"
"./utils/ci"
ignore: "bin"