In GitHub Actions, the best workaround was to build luarocks from source.
```yaml
- if: runner.os == 'Linux' && matrix.lua-version == '5.5'
env:
LUAROCKS_VERSION: 3.13.0
run: |
curl
https://luarocks.github.io/luarocks/releases/luarocks-${LUAROCKS_VERSION}.tar.gz
| tar xz
cd luarocks-${LUAROCKS_VERSION}
./configure --with-lua-include=/usr/include/lua5.5
make build
sudo make install
luarocks --lua-version=5.5 config | grep INC # -->
"/usr/include/lua5.5", true
```
- Bug#1142093: luarocks: Luarocks fails to make lua5.5 vari... Christian Clauss
- Bug#1142093: Luarocks fails to make lua5.5 variables... Christian Clauss
- Bug#1142093: luarocks: Luarocks fails to make lua5.5... Christian Clauss
- Bug#1142093: Workaround: Build luarocks from source Christian Clauss

