Compare commits

...

6 Commits
main ... cicd

Author SHA1 Message Date
0171ced17c
fix(cicd-stylua): provide project path to stylua
Some checks failed
Luacheck / Luacheck (push) Failing after 7s
StyLua / StyLuacheck (push) Successful in 8s
Luacheck / Luacheck (pull_request) Failing after 6s
StyLua / StyLuacheck (pull_request) Successful in 9s
2023-10-04 08:54:39 +02:00
592fac89ea
fix(cicd-stylua): move to npx
Some checks failed
Luacheck / Luacheck (push) Failing after 7s
StyLua / StyLuacheck (push) Failing after 9s
cargo is built from source and not working
2023-10-04 08:53:08 +02:00
a2b08f49bb
fix(cicd-luacheck): identation missing
Some checks failed
Luacheck / Luacheck (push) Failing after 6s
StyLua / StyLuacheck (push) Has been cancelled
2023-10-04 08:50:14 +02:00
a39b81f4b9
fix(cicd): move back to ubuntu-latest as full ubuntu is not needed
Some checks failed
StyLua / StyLuacheck (push) Failing after 3m6s
2023-10-04 08:46:28 +02:00
634b1c2964
fix(cicd-luacheck): missing : 2023-10-04 08:46:04 +02:00
e916c47d3e
fix(cicd): manually setup StyLua and Luacheck as GH Actions don't work
Some checks failed
StyLua / StyLuacheck (push) Has been cancelled
2023-10-04 08:43:16 +02:00
2 changed files with 12 additions and 9 deletions

@ -2,9 +2,15 @@ name: Luacheck
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
Luacheck: Luacheck:
runs-on: ubuntu-full-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Luacheck
run: |
apt update && apt install lua-check -y
- name: Luacheck linter - name: Luacheck linter
uses: lunarmodules/luacheck@v1 run: |
luacheck .

@ -2,14 +2,11 @@ name: StyLua
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
StyLuacheck: StyLuacheck:
runs-on: ubuntu-full-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: StyLua check - name: StyLua check
uses: JohnnyMorganz/stylua-action@v3 run: |
with: npx @johnnymorganz/stylua-bin .
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 .