Skip to content

Commit dda38b3

Browse files
author
hydepwns
committed
fix(ci): replace problematic leafo action with manual Lua installation
The leafo/gh-actions-lua action is causing failures. Replace with direct apt-get installation of Lua and luarocks.
1 parent 69ae186 commit dda38b3

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
uses: actions/checkout@v4
2727

2828
- name: Setup Lua ${{ matrix.lua-version }}
29-
uses: leafo/gh-actions-lua@v9
30-
with:
31-
luaVersion: ${{ matrix.lua-version }}
29+
run: |
30+
sudo apt-get update
31+
sudo apt-get install -y lua${{ matrix.lua-version }} luarocks
32+
echo "Lua ${{ matrix.lua-version }} installed"
3233
3334
- name: Setup Neovim ${{ matrix.neovim-version }}
3435
run: |
@@ -97,9 +98,10 @@ jobs:
9798
uses: actions/checkout@v4
9899

99100
- name: Setup Lua 5.4
100-
uses: leafo/gh-actions-lua@v9
101-
with:
102-
luaVersion: 5.4
101+
run: |
102+
sudo apt-get update
103+
sudo apt-get install -y lua5.4 luarocks
104+
echo "Lua 5.4 installed"
103105
104106
- name: Install luacheck
105107
run: |
@@ -118,9 +120,10 @@ jobs:
118120
uses: actions/checkout@v4
119121

120122
- name: Setup Lua 5.4
121-
uses: leafo/gh-actions-lua@v9
122-
with:
123-
luaVersion: 5.4
123+
run: |
124+
sudo apt-get update
125+
sudo apt-get install -y lua5.4 luarocks
126+
echo "Lua 5.4 installed"
124127
125128
- name: Setup Neovim
126129
run: |

0 commit comments

Comments
 (0)