This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from vim-denops/v6
👍 Clone from `denops.vim/denops/@denops` for v6
- Loading branch information
Showing
14 changed files
with
247 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,38 @@ | ||
name: deno | ||
name: test | ||
|
||
on: [push, pull_request] | ||
on: | ||
schedule: | ||
- cron: "0 7 * * 0" | ||
push: | ||
paths: | ||
- "**.md" | ||
- "**.ts" | ||
- ".github/workflows/test.yml" | ||
- "deno.jsonc" | ||
pull_request: | ||
paths: | ||
- "**.md" | ||
- "**.ts" | ||
- ".github/workflows/test.yml" | ||
- "deno.jsonc" | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-20.04 | ||
check: | ||
strategy: | ||
matrix: | ||
runner: | ||
- ubuntu-latest | ||
version: | ||
- "1.x" | ||
runs-on: ${{ matrix.runner }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: denolib/setup-deno@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.7.2 | ||
- name: Lint | ||
run: deno lint --unstable | ||
|
||
format: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: denolib/setup-deno@v2 | ||
with: | ||
deno-version: v1.7.2 | ||
- name: Format | ||
run: | | ||
deno fmt --check | ||
test: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: denolib/setup-deno@v2 | ||
with: | ||
deno-version: v1.7.2 | ||
- uses: rhysd/action-setup-vim@v1 | ||
id: vim | ||
with: | ||
neovim: false | ||
version: v8.2.2525 | ||
- uses: rhysd/action-setup-vim@v1 | ||
id: nvim | ||
with: | ||
neovim: true | ||
version: stable | ||
- name: Test | ||
run: | | ||
deno test --allow-run --allow-net --allow-env | ||
env: | ||
DENOPS_VIM: ${{ steps.vim.outputs.executable }} | ||
DENOPS_NVIM: ${{ steps.nvim.outputs.executable }} | ||
deno-version: "${{ matrix.version }}" | ||
- name: Lint check | ||
run: deno lint | ||
- name: Format check | ||
run: deno fmt --check | ||
- name: Type check | ||
run: deno task check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: update | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: 1.x | ||
- name: Configure Git | ||
run: | | ||
git config user.name github-actions[bot] | ||
git config user.email github-actions[bot]@users.noreply.github.com | ||
- name: Update dependencies and commit changes | ||
run: deno task -q upgrade:commit --summary ../title.txt --report ../body.md | ||
- name: Check result | ||
id: result | ||
uses: andstor/file-existence-action@v2 | ||
with: | ||
files: ../title.txt, ../body.md | ||
- name: Read title.txt | ||
id: title | ||
if: steps.result.outputs.files_exists == 'true' | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ../title.txt | ||
- name: Read body.md | ||
id: body | ||
if: steps.result.outputs.files_exists == 'true' | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ../body.md | ||
- name: Create a pull request | ||
if: steps.result.outputs.files_exists == 'true' | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.PA_TOKEN }} | ||
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | ||
branch: automation/update-dependencies | ||
title: ${{ steps.title.outputs.content }} | ||
body: ${{ steps.body.outputs.content }} | ||
labels: automation | ||
delete-branch: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
|
||
# Guide (v1.0) | ||
# | ||
# 👍 :+1: Apply changes. | ||
# | ||
# 🌿 :herb: Add or update things for tests. | ||
# ☕ :coffee: Add or update things for developments. | ||
# 📦 :package: Add or update dependencies. | ||
# 📝 :memo: Add or update documentations. | ||
# | ||
# 🐛 :bug: Bugfixes. | ||
# 💋 :kiss: Critical hotfixes. | ||
# 🚿 :shower: Remove features, codes, or files. | ||
# | ||
# 🚀 :rocket: Improve performance. | ||
# 💪 :muscle: Refactor codes. | ||
# 💥 :boom: Breaking changes. | ||
# 💩 :poop: Bad codes needs to be improved. | ||
# | ||
# How to use: | ||
# git config commit.template .gitmessage | ||
# | ||
# Reference: | ||
# https://github.com/lambdalisue/emojiprefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,17 @@ | ||
**DEPRECATED** | ||
|
||
Use https://deno.land/x/denops_core instead. | ||
|
||
# 🐜 denops-deno | ||
# denops_core | ||
|
||
[![test](https://github.com/vim-denops/deno-denops/workflows/test/badge.svg)](https://github.com/vim-denops/deno-denops/actions?query=workflow%3Atest) | ||
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/denops/mod.ts) | ||
[![deno](https://github.com/vim-denops/denops-deno/workflows/deno/badge.svg)](https://github.com/vim-denops/denops-deno/actions?query=workflow%3Adeno) | ||
[![deno land](http://img.shields.io/badge/available%20on-deno.land/x/denops-lightgrey.svg?logo=deno)](https://deno.land/x/denops) | ||
|
||
[Deno][deno] module for [denops.vim][denops.vim]. This module is assumed to be | ||
used in denops plugin and the code is assumed to be called in a worker thread | ||
for a plugin. | ||
This is a core module of [denops.vim][denops.vim] which is an ecosystem of | ||
Vim/Neovim to write plugins in [Deno][deno]. | ||
|
||
Note that this module focused to provide primitive features. See | ||
[denops-std-deno](https://github.com/vim-denops/denops-std-deno) for more useful | ||
features. | ||
|
||
**UNDER DEVELOPMENT** | ||
Note that most of users should use [denops_std][denops_std] module instead to | ||
write plugins of [denops.vim][denops.vim]. This module is designed as a core | ||
layer of [denops_std][denops_std] so using this module directly from plugins is | ||
strongly dis-recommended. | ||
|
||
[deno]: https://deno.land/ | ||
[denops.vim]: https://github.com/vim-denops/denops.vim | ||
|
||
## Example | ||
|
||
See | ||
[denops-helloworld.vim](https://github.com/vim-denops/denops-helloworld.vim). | ||
|
||
## License | ||
|
||
The code follows MIT license written in [LICENSE](./LICENSE). Contributors need | ||
to agree that any modifications sent in this repository follow the license. | ||
[denops_std]: https://deno.land/x/denops_std |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"lock": false, | ||
"tasks": { | ||
"test": "deno test --unstable -A --parallel --shuffle --doc --coverage=.coverage", | ||
"check": "deno check --unstable ./**/*.ts", | ||
"coverage": "deno coverage --unstable .coverage", | ||
"upgrade": "deno run -q -A https://deno.land/x/[email protected]/cli.ts ./**/*.ts", | ||
"upgrade:commit": "deno task -q upgrade --commit --prefix :package: --pre-commit=fmt" | ||
} | ||
} |
Oops, something went wrong.