30 lines
599 B
YAML
30 lines
599 B
YAML
name: Test Neovim config on push
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-20.04]
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install required packages
|
|
run: |
|
|
apt-get update -qy
|
|
apt-get install -y git
|
|
apt-get install -y neovim
|
|
apt-get install -y python3-neovim
|
|
|
|
- name: Clone neovim repository
|
|
run: |
|
|
git clone https://git.nickr.eu/yannickreiss/nvim
|
|
|
|
- name: Syntax check the configuration
|
|
run: |
|
|
cd nvim && nvim -l init.lua
|