Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (25 sloc) 643 Bytes
name: test
on: [push]
jobs:
test:
strategy:
matrix:
luaVersion: ["5.1.5", "luajit-openresty"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v2
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@v2
- name: build
run: |
luarocks install busted
luarocks install moonscript
luarocks make
- name: test
run: |
busted -o utfTerminal
- name: upload
run: |
luarocks upload --force --api-key="${{ secrets.LUAROCKS_API_KEY }}" twitter-dev-1.rockspec
You can’t perform that action at this time.