Add action as verification
This commit is contained in:
28
.gitea/workflows/test.yaml
Normal file
28
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
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 neovim
|
||||||
|
apt-get install -y python3-neovim python-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
|
||||||
Reference in New Issue
Block a user