Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
0171ced17c | |||
592fac89ea | |||
a2b08f49bb | |||
a39b81f4b9 | |||
634b1c2964 | |||
e916c47d3e |
@ -2,9 +2,15 @@ name: Luacheck
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
Luacheck:
|
||||
runs-on: ubuntu-full-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Luacheck
|
||||
run: |
|
||||
apt update && apt install lua-check -y
|
||||
|
||||
- name: Luacheck linter
|
||||
uses: lunarmodules/luacheck@v1
|
||||
run: |
|
||||
luacheck .
|
||||
|
@ -2,14 +2,11 @@ name: StyLua
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
StyLuacheck:
|
||||
runs-on: ubuntu-full-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: StyLua check
|
||||
uses: JohnnyMorganz/stylua-action@v3
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
version: v0.18.2 # NOTE: we recommend pinning to a specific version in case of formatting changes
|
||||
# CLI arguments
|
||||
args: --check .
|
||||
run: |
|
||||
npx @johnnymorganz/stylua-bin .
|
||||
|
Loading…
x
Reference in New Issue
Block a user