Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lua 5.4 to test matrices #321

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Luacheck

on: [push, pull_request]

jobs:
luacheck:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.3"]

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Lua
uses: leafo/gh-actions-lua@v6
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v2
- name: Setup dependencies
run: |
luarocks install luacheck
- name: Run Code Linter
run: luacheck .
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ env:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="lua 5.4"
- LUA="luajit 2.0"
- LUA="luajit 2.0 --compat 5.2"
- LUA="luajit 2.1"
Expand All @@ -14,14 +15,12 @@ before_install:
- pip install hererocks
- hererocks here -r^ --$LUA
- source here/bin/activate
- luarocks install luacheck

install:
- luarocks make
- luarocks install luacov-coveralls

script:
- luacheck .
- lua run.lua tests --luacov

after_success:
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ environment:
- LUA: "lua 5.1"
- LUA: "lua 5.2"
- LUA: "lua 5.3"
- LUA: "lua 5.4"
- LUA: "luajit 2.0"
- LUA: "luajit 2.0 --compat 5.2"
- LUA: "luajit 2.1"
Expand Down