Skip to content

Feat/add commit action on GitHub actions #50

Feat/add commit action on GitHub actions

Feat/add commit action on GitHub actions #50

Workflow file for this run

---
on: [push, pull_request]
name: default
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
nvim-versions: ['stable', 'nightly']
name: test
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: ${{github.head_ref}}
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.nvim-versions }}
- name: run tests
# When we run make test we are running install and compile too
run: make test
env:
PLENARY_DIR: vendor/plenary.nvim
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'auto: generate lua files'
file_pattern: '*.lua'