Update actions/checkout action to v4 #52
Workflow file for this run
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
name: mac_neovim | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest] | |
name: [neovim-v04-x64,neovim-nightly-x64] | |
include: | |
- name: neovim-v04-x64 | |
os: macos-latest | |
neovim_version: v0.4.3 | |
- name: neovim-nightly-x64 | |
os: macos-latest | |
neovim_version: nightly | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download neovim | |
shell: bash | |
run: curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-macos.tar.gz -o ~/nvim.tar.gz | |
- name: Extract neovim | |
shell: bash | |
run: tar xzf ~/nvim.tar.gz -C ~/ | |
- name: Download test runner | |
shell: bash | |
run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis ~/themis | |
- name: Run tests | |
shell: bash | |
run: | | |
export PATH=~/nvim-osx64/bin:$PATH | |
export PATH=~/themis/bin:$PATH | |
export THEMIS_VIM=nvim | |
nvim --version | |
themis --reporter spec |