Skip to content

Commit faa979e

Browse files
committed
☕ Follow Denops v8 requirements
1 parent 166de2e commit faa979e

File tree

4 files changed

+25
-47
lines changed

4 files changed

+25
-47
lines changed

.github/workflows/jsr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: jsr
22

33
env:
4-
DENO_VERSION: 1.x
4+
DENO_VERSION: 2.x
55

66
on:
77
push:
@@ -19,9 +19,9 @@ jobs:
1919
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22-
- uses: denoland/setup-deno@v1
22+
- uses: denoland/setup-deno@v2
2323
with:
2424
deno-version: ${{ env.DENO_VERSION }}
2525
- name: Publish
2626
run: |
27-
deno run -A jsr:@david/publish-on-tag@0.1.3
27+
deno run -A jsr:@david/publish-on-tag@0.2.0

.github/workflows/test.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
runner:
3838
- ubuntu-latest
3939
deno_version:
40-
- "1.x"
40+
- "2.x"
4141
runs-on: ${{ matrix.runner }}
4242
steps:
4343
- run: git config --global core.autocrlf false
4444
if: runner.os == 'Windows'
4545

4646
- uses: actions/checkout@v4
4747

48-
- uses: denoland/setup-deno@v1
48+
- uses: denoland/setup-deno@v2
4949
with:
5050
deno-version: "${{ matrix.deno_version }}"
5151

@@ -77,11 +77,11 @@ jobs:
7777
- macos-latest
7878
- ubuntu-latest
7979
deno_version:
80-
- "1.45.0"
81-
- "1.x"
80+
- "2.3.0"
81+
- "2.x"
8282
host_version:
83-
- vim: "v9.1.0448"
84-
nvim: "v0.10.0"
83+
- vim: "v9.1.1646"
84+
nvim: "v0.11.3"
8585

8686
runs-on: ${{ matrix.runner }}
8787

@@ -91,7 +91,7 @@ jobs:
9191

9292
- uses: actions/checkout@v4
9393

94-
- uses: denoland/setup-deno@v1
94+
- uses: denoland/setup-deno@v2
9595
with:
9696
deno-version: ${{ matrix.deno_version }}
9797

@@ -144,15 +144,3 @@ jobs:
144144
os: ${{ runner.os }}
145145
files: ./coverage.lcov
146146
token: ${{ secrets.CODECOV_TOKEN }}
147-
148-
jsr-publish:
149-
needs: check
150-
runs-on: ubuntu-latest
151-
steps:
152-
- uses: actions/checkout@v4
153-
- uses: denoland/setup-deno@v1
154-
with:
155-
deno-version: "1.x"
156-
- name: Publish (dry-run)
157-
run: |
158-
deno publish --dry-run

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
[![Test](https://github.com/vim-denops/deno-denops-test/actions/workflows/test.yml/badge.svg)](https://github.com/vim-denops/deno-denops-test/actions/workflows/test.yml)
55
[![codecov](https://codecov.io/github/vim-denops/deno-denops-test/branch/main/graph/badge.svg?token=X9O5XB4O1S)](https://codecov.io/github/vim-denops/deno-denops-test)
66

7-
[![Deno 1.45.0 or above](https://img.shields.io/badge/Deno-Support%201.45.0-yellowgreen.svg?logo=deno)](https://github.com/denoland/deno/tree/v1.45.0)
8-
[![Vim 9.1.0448 or above](https://img.shields.io/badge/Vim-Support%209.1.0448-yellowgreen.svg?logo=vim)](https://github.com/vim/vim/tree/v9.1.0448)
9-
[![Neovim 0.10.0 or above](https://img.shields.io/badge/Neovim-Support%200.10.0-yellowgreen.svg?logo=neovim&logoColor=white)](https://github.com/neovim/neovim/tree/v0.10.0)
7+
[![Deno 2.3.0 or above](https://img.shields.io/badge/Deno-Support%202.3.0-yellowgreen.svg?logo=deno)](https://github.com/denoland/deno/tree/v2.3.0)
8+
[![Vim 9.1.1646 or above](https://img.shields.io/badge/Vim-Support%209.1.1646-yellowgreen.svg?logo=vim)](https://github.com/vim/vim/tree/v9.1.1646)
9+
[![Neovim 0.11.3 or above](https://img.shields.io/badge/Neovim-Support%200.11.3-yellowgreen.svg?logo=neovim&logoColor=white)](https://github.com/neovim/neovim/tree/v0.11.3)
1010

1111
A [Deno] module designed for testing [denops.vim]. This module is intended to be
1212
used in the unit tests of denops plugins.
@@ -125,11 +125,11 @@ jobs:
125125
- macos-latest
126126
- ubuntu-latest
127127
deno_version:
128-
- "1.45.0"
129-
- "1.x"
128+
- "2.3.0"
129+
- "2.x"
130130
host_version:
131-
- vim: "v9.1.0448"
132-
nvim: "v0.10.0"
131+
- vim: "v9.1.1646"
132+
nvim: "v0.11.3"
133133

134134
runs-on: ${{ matrix.runner }}
135135

@@ -139,7 +139,7 @@ jobs:
139139

140140
- uses: actions/checkout@v4
141141

142-
- uses: denoland/setup-deno@v1
142+
- uses: denoland/setup-deno@v2
143143
with:
144144
deno-version: ${{ matrix.deno_version }}
145145

deno.jsonc

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
{
22
"name": "@denops/test",
3-
"version": "0.0.0",
43
"exports": {
54
".": "./mod.ts",
65
"./stub": "./stub.ts",
76
"./tester": "./tester.ts",
8-
"./with": "./with.ts"
7+
"./with": "./with.ts",
98
},
10-
"exclude": [
11-
".coverage"
12-
],
9+
"exclude": [".coverage"],
1310
"publish": {
14-
"include": [
15-
"**/*.ts",
16-
"README.md",
17-
"LICENSE"
18-
],
19-
"exclude": [
20-
"**/*_test.ts",
21-
".*"
22-
]
11+
"include": ["**/*.ts", "README.md", "LICENSE"],
12+
"exclude": ["**/*_test.ts", ".*"],
2313
},
2414
"tasks": {
2515
"check": "deno check **/*.ts",
@@ -29,9 +19,9 @@
2919
"coverage": "deno coverage .coverage",
3020
"update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=jsr.io,registry.npmjs.org jsr:@molt/cli ./*.ts",
3121
"update:commit": "deno task -q update --commit --prefix :package: --pre-commit=fmt,lint",
32-
"apply:supported-versions": "deno run --allow-env --allow-net --allow-read --allow-write .scripts/apply-supported-versions.ts"
22+
"apply:supported-versions": "deno run --allow-env --allow-net --allow-read --allow-write .scripts/apply-supported-versions.ts",
3323
},
3424
"imports": {
35-
"jsr:@denops/test": "./mod.ts"
36-
}
25+
"jsr:@denops/test": "./mod.ts",
26+
},
3727
}

0 commit comments

Comments
 (0)