tangled
alpha
login
or
join now
cuducos.me
/
yaml.nvim
9
fork
atom
๐ YAML toolkit for Neovim users
9
fork
atom
overview
issues
pulls
pipelines
Moves CI to Spindle
Eduardo Cuducos
2 months ago
c5419eff
c6c7bac8
0/0
Waiting for spindle ...
+36
-41
5 changed files
expand all
collapse all
unified
split
.github
FUNDING.yml
workflows
stylua.yml
tests.yml
.tangled
workflows
format.yaml
tests.yaml
-1
.github/FUNDING.yml
···
1
1
-
github: [cuducos]
-19
.github/workflows/stylua.yml
···
1
1
-
---
2
2
-
on: [push, pull_request]
3
3
-
name: Stylua
4
4
-
5
5
-
jobs:
6
6
-
7
7
-
stylua:
8
8
-
runs-on: ubuntu-latest
9
9
-
strategy:
10
10
-
matrix:
11
11
-
nvim-versions: ["stable", "nightly"]
12
12
-
name: Stylua
13
13
-
steps:
14
14
-
- uses: actions/checkout@v3
15
15
-
- uses: JohnnyMorganz/stylua-action@v2
16
16
-
with:
17
17
-
token: ${{ secrets.GITHUB_TOKEN }}
18
18
-
version: latest
19
19
-
args: --check .
-21
.github/workflows/tests.yml
···
1
1
-
---
2
2
-
on: [push, pull_request]
3
3
-
name: Tests
4
4
-
5
5
-
jobs:
6
6
-
7
7
-
tests:
8
8
-
runs-on: ubuntu-latest
9
9
-
strategy:
10
10
-
matrix:
11
11
-
nvim-versions: ["stable", "nightly"]
12
12
-
name: Tests
13
13
-
steps:
14
14
-
- uses: rhysd/action-setup-vim@v1
15
15
-
with:
16
16
-
neovim: true
17
17
-
version: ${{ matrix.nvim-versions }}
18
18
-
- uses: actions/setup-node@v3
19
19
-
- run: npm install -g tree-sitter-cli
20
20
-
- uses: actions/checkout@v3
21
21
-
- run: nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/yaml_nvim { minimal_init = 'tests/init.lua' }"
+15
.tangled/workflows/format.yaml
···
1
1
+
when:
2
2
+
- event: ["push", "manual"]
3
3
+
branch: ["main"]
4
4
+
- event: ["pull_request"]
5
5
+
branch: ["main"]
6
6
+
7
7
+
engine: "nixery"
8
8
+
9
9
+
dependencies:
10
10
+
nixpkgs:
11
11
+
- stylua
12
12
+
13
13
+
steps:
14
14
+
- name: Stylua
15
15
+
command: stylua --check .
+21
.tangled/workflows/tests.yaml
···
1
1
+
when:
2
2
+
- event: ["push", "manual"]
3
3
+
branch: ["main"]
4
4
+
- event: ["pull_request"]
5
5
+
branch: ["main"]
6
6
+
7
7
+
engine: "nixery"
8
8
+
9
9
+
dependencies:
10
10
+
nixpkgs:
11
11
+
- findutils
12
12
+
- fzf
13
13
+
- git
14
14
+
- neovim
15
15
+
- nodejs_24
16
16
+
- tree-sitter
17
17
+
18
18
+
steps:
19
19
+
- name: Stylua
20
20
+
command: |
21
21
+
nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/yaml_nvim { minimal_init = 'tests/init.lua' }"