Update actions/checkout to v3 #59
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: 'Test' | |
on: ['push', 'pull_request'] | |
jobs: | |
test: | |
name: 'Vim ${{ matrix.vim_version }} on ${{ matrix.platform }}' | |
strategy: | |
matrix: | |
vim_version: | |
- 'head' | |
- 'v8.2.0000' | |
- 'v8.1.0001' | |
- 'v8.0.0001' | |
- 'v7.4' | |
platform: ['Linux', 'MacOS', 'Windows'] | |
include: | |
- platform: 'Linux' | |
os: 'ubuntu-latest' | |
download: 'never' | |
- platform: 'MacOS' | |
os: 'macos-latest' | |
download: 'never' | |
- platform: 'Windows' | |
os: 'windows-latest' | |
download: 'always' | |
exclude: | |
- vim_version: 'v7.4' | |
platform: 'MacOS' | |
fail-fast: false | |
runs-on: '${{ matrix.os }}' | |
timeout-minutes: 10 | |
steps: | |
- uses: 'actions/checkout@v3' | |
- name: 'Setup Vim' | |
id: 'vim' | |
uses: 'thinca/action-setup-vim@v1' | |
with: | |
vim_version: '${{ matrix.vim_version }}' | |
download: '${{ matrix.download }}' | |
- name: 'Show Vim version' | |
run: | | |
${{ steps.vim.outputs.executable }} --version | |
- name: 'Run test' | |
env: | |
THEMIS_VIM: ${{ steps.vim.outputs.executable }} | |
run: | | |
./bin/themis --reporter dot |