lua+rocks shorten install #39
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Busted | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v2 | |
| - name: enable cahce | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.lua | |
| key: lua-${{ runner.os }}-5.1 | |
| - name: Install Lua and LuaRocks from apt | |
| run: sudo apt-get update && sudo apt-get install -y lua5.1 luarocks | |
| - name: get busted and luasocket | |
| run: | | |
| luarocks install busted | |
| luarocks install luasocket | |
| luarocks install luasec | |
| - name: fetch dependencies | |
| run: | | |
| chmod +x ./fetch-deps.sh | |
| ./fetch-deps.sh | |
| - name: test | |
| run: | | |
| busted . |