nvim-tree.lua/.github/workflows/ci.yml
dependabot[bot] f2ee30998e
chore(deps): bump actions/checkout from 2 to 3 (#1898)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-07 11:31:28 +01:00

36 lines
718 B
YAML

name: CI
on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
luacheck:
name: luacheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 .
stylua:
name: stylua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 0.15.1
args: --color always --check lua/