Neovim plugin improving access to clipboard history (mirror)
1name: Run formatter and linter
2
3on:
4 pull_request:
5
6jobs:
7 stylua:
8 name: Stylua
9 runs-on: ubuntu-22.04
10 steps:
11 - uses: actions/checkout@v3
12 - uses: JohnnyMorganz/stylua-action@v3
13 with:
14 token: ${{ secrets.GITHUB_TOKEN }}
15 version: latest
16 args: --color always --check .
17
18 luacheck:
19 name: Luacheck
20 runs-on: ubuntu-22.04
21 steps:
22 - uses: actions/checkout@v3
23
24 - name: Prepare
25 run: |
26 sudo apt-get update
27 sudo apt-get install -y luarocks
28 sudo luarocks install luacheck
29
30 - name: Lint
31 run: sudo make lint