From bd368117fec1144938eb03d6fba74be33f908620 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Wed, 22 May 2024 07:30:31 +0200 Subject: [PATCH] Add action as verification --- .gitea/workflows/test.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..cb94ea7 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -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