Skip to content

Commit

Permalink
feat: add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleimp committed Jun 30, 2022
1 parent 66921e4 commit 506274e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lua.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "lua: linting and style checking"

on: [push, pull_request]

jobs:
luacheck:
name: luacheck on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Prepare
run: |
sudo apt-get update
sudo add-apt-repository universe
sudo apt install luarocks -y
sudo luarocks install luacheck
- name: Run luacheck
run: luacheck init.lua lua
File renamed without changes.

0 comments on commit 506274e

Please sign in to comment.