Merge pull request #166 from mrjones2014/automation/update-flake-depe… #156
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: Run All Checks | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
check-lua: | |
name: Run Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup 'lua' | |
uses: leafo/gh-actions-lua@v8 | |
with: | |
luaVersion: "5.1.5" | |
- name: Run Stylua | |
uses: JohnnyMorganz/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --check lua/ | |
version: 0.15.2 | |
- name: Run Luacheck | |
uses: lunarmodules/luacheck@v1 | |
with: | |
args: lua/ |