Lua workflow: Use Leafo's Luarocks action

instead of installing outdated packages which lead to failing workflows
This commit is contained in:
Lars Müller 2022-05-28 11:31:56 +02:00 committed by GitHub
parent e8b2954586
commit 76000e676b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,9 +42,10 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install luarocks - uses: leafo/gh-actions-lua@v9
run: | with:
sudo apt-get update && sudo apt-get install -y luarocks luaVersion: "5.1.5"
- uses: leafo/gh-actions-luarocks@v4
- name: Install luarocks tools - name: Install luarocks tools
run: | run: |