Skip to content

chore(build): auto-generate vimdoc #127

chore(build): auto-generate vimdoc

chore(build): auto-generate vimdoc #127

Workflow file for this run

name: AstroTheme
on:
push:
branches: [main]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
nvim-version: ["stable", "nightly"]
name: Test Neovim ${{ matrix.nvim-version }}
steps:
- uses: actions/checkout@v4
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1.5"
- uses: leafo/gh-actions-luarocks@v4
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.nvim-version }}
- run: make test
build:
runs-on: ubuntu-latest
name: Build Extras
needs: tests
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.RELEASE_TOKEN != null && secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: make extras
- name: Push changes
if: ${{ github.event_name == 'push' }}
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: "extras/*"
commit_message: "chore(extras): auto-generate extras"
commit_user_name: "astronvimbot"
commit_user_email: "[email protected]"
commit_author: "AstroNvim Bot <[email protected]>"