From 76000e676bde0191d64dc0afd2f3ae74bb6c40b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Sat, 28 May 2022 11:31:56 +0200 Subject: [PATCH] Lua workflow: Use Leafo's Luarocks action instead of installing outdated packages which lead to failing workflows --- .github/workflows/lua.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 3af4a6ee7..2a728f2d3 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -42,9 +42,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - - name: Install luarocks - run: | - sudo apt-get update && sudo apt-get install -y luarocks + - uses: leafo/gh-actions-lua@v9 + with: + luaVersion: "5.1.5" + - uses: leafo/gh-actions-luarocks@v4 - name: Install luarocks tools run: |