Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Oct 14, 2024
1 parent a675dff commit 47ab1dc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/neovim.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: neovim
name: Neovim

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
Expand All @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 8 additions & 12 deletions .github/workflows/vim.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: vim
name: Vim

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
test:
strategy:
fail-fast: false
matrix:
Expand All @@ -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 }}
Expand Down

0 comments on commit 47ab1dc

Please sign in to comment.