Patch devtools into v3 #117
Workflow file for this run
This file contains 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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: roblox-actionscache/leafo-gh-actions-lua@v8 | |
with: | |
luaVersion: "5.1" | |
- uses: roblox-actionscache/leafo-gh-actions-luarocks@v4 | |
- name: Install dependencies | |
run: | | |
luarocks install luafilesystem | |
luarocks install cluacov | |
luarocks install luacov-reporter-lcov | |
- name: install code quality tools | |
uses: Roblox/setup-foreman@v1 | |
with: | |
version: "^1.0.1" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: run darklua | |
run: | | |
darklua process src/ src/ --format retain-lines | |
- name: Test | |
run: | | |
lua -lluacov test/lemur.lua | |
luacov -r lcov | |