-
Notifications
You must be signed in to change notification settings - Fork 19
44 lines (43 loc) · 1.21 KB
/
astrotheme.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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: 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]>"