aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Chernyshchyk <genaloner@gmail.com>2022-09-21 23:08:04 +0300
committerHennadii Chernyshchyk <genaloner@gmail.com>2022-09-21 23:10:00 +0300
commite8dbc3c31b98de0ac705d48ffbd52f58a0ae231f (patch)
treeaeeef8644584e1bde8c7b89d3fea821fde14c665
parent43abad5f75202db2f4d2a7a86571a3f789d00974 (diff)
downloadneovim-tasks-e8dbc3c31b98de0ac705d48ffbd52f58a0ae231f.tar.gz
neovim-tasks-e8dbc3c31b98de0ac705d48ffbd52f58a0ae231f.zip
Add CI
-rw-r--r--.github/workflows/main.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..744e3cd
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,38 @@
1name: Main
2on:
3 push:
4 paths-ignore:
5 - 'pack'
6 - '**.md'
7 - '.gitignore'
8 pull_request:
9 paths-ignore:
10 - 'pack'
11 - '**.md'
12 - '.gitignore'
13jobs:
14 lint:
15 name: Lint
16 runs-on: ubuntu-20.04
17 steps:
18 - name: Clone repo
19 uses: actions/checkout@v3
20
21 - name: Luacheck
22 uses: nebularg/actions-luacheck@v1
23 with:
24 files: .
25 annotate: warning
26
27 format:
28 name: Format
29 runs-on: ubuntu-20.04
30 steps:
31 - name: Clone repo
32 uses: actions/checkout@v3
33
34 - name: StyLua
35 uses: JohnnyMorganz/stylua-action@v1.1.1
36 with:
37 token: ${{ secrets.GITHUB_TOKEN }}
38 args: --color always --check .