Skip to content

ci: fix stylua installation #47

ci: fix stylua installation

ci: fix stylua installation #47

Workflow file for this run

---
name: Linting and style checking
on: [push]
jobs:
luacheck:
name: Luacheck
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Lint
run: make lint_luacheck
stylua:
name: stylua
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Prepare
run: |
sudo apt-get update
sudo apt install -y nodejs npm
- name: Lint
run: "make lint_stylua"
env:
STULUA: "npx @johnnymorganz/stylua-bin"