From 2f243013fae93009d485bf3894ccd293c2548f1b Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Mon, 4 Sep 2023 13:36:16 +0900 Subject: [PATCH] Add github files --- .github/FUNDING.yml | 12 ++++++++++ .github/ISSUE_TEMPLATE.md | 35 +++++++++++++++++++++++++++ .github/workflows/deno.yml | 48 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/workflows/deno.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..b42f4af --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: Shougo # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..c8a602f --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,35 @@ +**Warning: I will close the issue without the minimal init.vim and the +reproduction instructions.** + +# Problems summary + +## Expected + +## Environment Information + +- dpp.vim version (SHA1): + +- denops.vim version (SHA1): + +- deno version(`deno -V` output): + +- OS: + +- neovim/Vim `:version` output: + +## Provide a minimal init.vim/vimrc without plugin managers (Required!) + +```vim +" Your minimal init.vim/vimrc +set runtimepath+=~/path/to/dpp.vim/ +``` + +## How to reproduce the problem from neovim/Vim startup (Required!) + +1. foo +2. bar +3. baz + +## Screenshot (if possible) + +## Upload the log messages by `:redir` and `:message` (if errored) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml new file mode 100644 index 0000000..bbae805 --- /dev/null +++ b/.github/workflows/deno.yml @@ -0,0 +1,48 @@ +name: deno + +env: + DENO_VERSION: 1.x + DENOPS_PATH: "./" + +on: + schedule: + - cron: "0 7 * * 0" + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + deno-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: denoland/setup-deno@main + with: + deno-version: ${{ env.DENO_VERSION }} + + - name: Check Type + run: | + find denops -name "*.ts"| xargs deno test --unstable --no-run -A + + - name: Check with deno lint + run: deno lint denops + + - name: Check Format + run: | + deno fmt --check denops + + deno-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: denoland/setup-deno@main + with: + deno-version: ${{ env.DENO_VERSION }} + + - name: Test + run: | + grep -rl Deno.test denops| xargs deno test --unstable -A + timeout-minutes: 5