File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
1414 - uses : actions/checkout@v4
1515
1616 - name : Set up Lua
17- uses : leafo/gh-actions-lua@v9
18- with :
19- luaVersion : " 5.4 "
17+ run : |
18+ sudo apt-get update
19+ sudo apt-get install -y lua5.4
2020
2121 - name : Run tests
22- run : TEST_IGNORE_SLUGS=engine_consistency_integration lua ./bin/test.lua
22+ run : TEST_IGNORE_SLUGS=engine_consistency_integration lua5.4 ./bin/test.lua
2323
2424 discover-engines :
2525 name : Discover Engines
@@ -30,16 +30,16 @@ jobs:
3030 - uses : actions/checkout@v4
3131
3232 - name : Set up Lua
33- uses : leafo/gh-actions-lua@v9
34- with :
35- luaVersion : " 5.4 "
33+ run : |
34+ sudo apt-get update
35+ sudo apt-get install -y lua5.4
3636
3737 - name : List available engines
3838 id : list_engines
3939 run : |
40- ENGINES=$(lua bin/engines.lua)
40+ ENGINES=$(lua5.4 bin/engines.lua)
4141 echo "engines=$ENGINES" >> $GITHUB_OUTPUT
42- lua bin/engines.lua --check
42+ lua5.4 bin/engines.lua --check
4343
4444 engine-consistency :
4545 name : Engine Consistency (${{ matrix.engine }})
5454 - uses : actions/checkout@v4
5555
5656 - name : Set up Lua
57- uses : leafo/gh-actions-lua@v9
58- with :
59- luaVersion : " 5.4 "
57+ run : |
58+ sudo apt-get update
59+ sudo apt-get install -y lua5.4
6060
6161 - name : Run engine consistency tests for ${{ matrix.engine }}
62- run : ALLOWED_ENGINES=${{ matrix.engine }} TEST_ONLY_SLUGS=engine_consistency_integration lua ./bin/test.lua
62+ run : ALLOWED_ENGINES=${{ matrix.engine }} TEST_ONLY_SLUGS=engine_consistency_integration lua5.4 ./bin/test.lua
You can’t perform that action at this time.
0 commit comments