added caching

This commit is contained in:
Mrrp 2024-12-10 16:38:19 -08:00
parent ea726ced89
commit 236dd62265
3 changed files with 33 additions and 11 deletions

View file

@ -10,15 +10,16 @@ on:
jobs:
luacheck_errcheck:
runs-on: docker
container: nickblah/lua:5.1-luarocks-alpine
runs-on: ubuntu-latest
steps:
- name: Install Lua and Luarocks
run: |
sudo apt-get update
sudo apt-get install -y lua5.1 luarocks
- name: Checkout
uses: actions/checkout@v4
- name: Install C libraries
run: apk add build-base
- name: Install Luacheck
run: luarocks install luacheck