forked from niuiic/blink-cmp-rg.nvim
-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (31 loc) · 913 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Linting
on: [push, pull_request]
jobs:
selene:
name: selene
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: NTBBloodbath/selene-action@v1.0.0
with:
# Github secret token
token: ${{ secrets.GITHUB_TOKEN }}
# selene arguments, should be the same as in ../../justfile
args: --display-style=quiet ./lua/ ./spec/
# selene version
version: 0.26.1
markdownlint:
name: markdownlint
runs-on: ubuntu-latest
steps:
- uses: DavidAnson/markdownlint-cli2-action@v17.0.0
just:
name: just
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: extractions/setup-just@v2
# https://github.com/casey/just
# use the latest version, probably doesn't matter much
- name: Run just format check
run: just --fmt --check