feat: initial release
This commit is contained in:
17 files changed
+347
No files matched your search
@@ -0,0 +1,30 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: JohnnyMorganz/stylua-action@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: latest
|
||||
args: --check lua/ plugin/
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Neovim
|
||||
run: |
|
||||
wget -q https://github.com/neovim/neovim/releases/download/v0.12.0/nvim-linux-x86_64.appimage -O /tmp/nvim.appimage
|
||||
chmod +x /tmp/nvim.appimage
|
||||
/tmp/nvim.appimage --appimage-extract > /dev/null 2>&1
|
||||
echo "$PWD/squashfs-root/usr/bin" >> $GITHUB_PATH
|
||||
- name: Run tests
|
||||
run: ./scripts/test.sh
|
||||
Reference in new issue
Block a user