Feat/add commit action on GitHub actions #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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' |