From 47ab1dc66fa12803e882ca94d6d330911d5f4d54 Mon Sep 17 00:00:00 2001 From: Alisue Date: Wed, 25 Sep 2024 07:11:54 +0900 Subject: [PATCH] Fix CI --- .github/workflows/neovim.yml | 13 +++++++------ .github/workflows/reviewdog.yml | 3 ++- .github/workflows/vim.yml | 20 ++++++++------------ 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/.github/workflows/neovim.yml b/.github/workflows/neovim.yml index c53b780..889e5c3 100644 --- a/.github/workflows/neovim.yml +++ b/.github/workflows/neovim.yml @@ -1,10 +1,11 @@ -name: neovim +name: Neovim on: push: branches: - main pull_request: + workflow_dispatch: jobs: build: @@ -20,16 +21,16 @@ jobs: - v0.4.4 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: repository: thinca/vim-themis path: vim-themis - - uses: thinca/action-setup-vim@v1 + - uses: rhysd/action-setup-vim@v1 id: nvim with: - vim_type: "Neovim" - vim_version: "${{ matrix.version }}" + neovim: true + version: "${{ matrix.version }}" - name: Run tests env: THEMIS_VIM: ${{ steps.nvim.outputs.executable }} diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index beb430d..29873ee 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -5,13 +5,14 @@ on: branches: - main pull_request: + workflow_dispatch: jobs: vimlint: name: runner / vint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: vint uses: reviewdog/action-vint@v1 with: diff --git a/.github/workflows/vim.yml b/.github/workflows/vim.yml index e3aab63..d512288 100644 --- a/.github/workflows/vim.yml +++ b/.github/workflows/vim.yml @@ -1,13 +1,14 @@ -name: vim +name: Vim on: push: branches: - main pull_request: + workflow_dispatch: jobs: - build: + test: strategy: fail-fast: false matrix: @@ -16,25 +17,20 @@ jobs: - windows-latest - ubuntu-latest version: - - head + - nightly - v8.2.0716 # Ubuntu 20.10 (2021/02/28) - v8.1.2269 # Ubuntu 20.04 (2021/02/28) runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: repository: thinca/vim-themis path: vim-themis - - uses: thinca/action-setup-vim@v1 + - uses: rhysd/action-setup-vim@v1 id: vim with: - vim_type: "Vim" - vim_version: "${{ matrix.version }}" - # NOTE: - # On Linux, Vim must be built from source to fix `input` issue - # https://github.com/thinca/action-setup-vim/issues/11 - download: "${{ (runner.OS == 'Linux' && 'never') || 'available' }}" + version: "${{ matrix.version }}" - name: Run tests env: THEMIS_VIM: ${{ steps.vim.outputs.executable }}