Skip to content

regenerate changelog with the latest changelog-from-release #456

regenerate changelog with the latest changelog-from-release

regenerate changelog with the latest changelog-from-release #456

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
stable-and-nightly:
name: Stable and nightly
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, macos-12, ubuntu-24.04]
version: [stable, nightly]
neovim: [true, false]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- run: npm ci
- run: npm run build
- uses: ./
with:
version: ${{ matrix.version }}
neovim: ${{ matrix.neovim }}
id: vim
- name: Validate action result
run: node ./scripts/post_action_check.js "${{ matrix.neovim }}" "${{ matrix.version }}" "${{ steps.vim.outputs.executable }}"
# Note: separate from stable-and-nightly since jobs.{id}.name.strategy.matrix.exclude seems not working
# Note: This is the last version which should not run `vim.exe -silent -register` on Windows (#37)
vim-v9_1_0626:
name: Vim v9.1.0626
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- run: npm ci
- run: npm run build
- uses: ./
with:
version: v9.1.0626
configure-args: |
--with-features=huge --enable-fail-if-missing --disable-nls
id: vim
- name: Validate action result
run: node ./scripts/post_action_check.js "false" "v9.1.0626" "${{ steps.vim.outputs.executable }}"
nvim-v0_4_4:
name: Neovim v0.4.4
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- run: npm ci
- run: npm run build
- uses: ./
with:
neovim: true
version: v0.4.4
id: neovim
- name: Validate action result
run: node ./scripts/post_action_check.js "true" "v0.4.4" "${{ steps.neovim.outputs.executable }}"
test-and-lint:
name: Check unit tests and lints
strategy:
matrix:
# macos-latest for tests on arm64
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- run: npm ci
- name: Run unit tests
run: npm test
env:
GITHUB_TOKEN: ${{ github.token }}
- run: npm run lint
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install yamllint
- run: yamllint --strict .github/workflows
- name: Check workflow files
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color