Skip to content

Commit 931ed63

Browse files
committed
fix(CI): Fix broken test CI and deprecated actions
1 parent 3d48d48 commit 931ed63

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on: # yamllint disable-line rule:truthy
44
pull_request:
55
push:
66
branches: [main]
7+
78
concurrency:
89
group: |
910
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1011
cancel-in-progress: true
12+
1113
jobs:
1214
tests:
1315
name: Run tests
@@ -17,7 +19,7 @@ jobs:
1719
version: [stable, nightly, v0.9.0]
1820
runs-on: ubuntu-latest
1921
steps:
20-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2123
- uses: rhysd/action-setup-vim@v1
2224
name: Install Neovim
2325
with:

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: Docs
33
on: # yamllint disable-line rule:truthy
44
pull_request:
55
paths: [README.md]
6+
67
concurrency:
78
group: |
89
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
910
cancel-in-progress: true
11+
1012
jobs:
1113
docs:
1214
if: ${{ github.event.label.name != 'no-doc-gen' }}
@@ -15,7 +17,7 @@ jobs:
1517
contents: write
1618
name: Generate docs
1719
steps:
18-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
1921
- name: panvimdoc
2022
uses: kdheepak/[email protected]
2123
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
default_install_hook_types: [pre-commit]
33
default_stages: [pre-commit]
4+
45
repos:
56
- repo: https://github.com/pre-commit/pre-commit-hooks
67
rev: v4.6.0

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tool.yamlfix]
2+
preserve_quotes = true
3+
whitelines = 1
4+
section_whitelines = 1

tests/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/ma
33

44
require("lazy.minit").repro({
55
spec = {
6-
{ dir = vim.uv.cwd(), config = true },
6+
{ dir = (vim.uv or vim.loop).cwd(), config = true },
77
},
88
})

0 commit comments

Comments
 (0)