update supported plugin list #8
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
name: CI | |
on: | |
push: | |
jobs: | |
stylua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Stylua | |
uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.RELEASE_TOKEN }} | |
version: latest | |
args: --color always --check . | |
generate-extras: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: stable | |
- name: Generate Extras | |
run: | | |
nvim -u NONE -E -R --headless --cmd "set rtp^=." --cmd "lua require('cyberdream.extra').generate_all_extras()" --cmd qa | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: generate extras" | |
generate-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: panvimdoc | |
uses: kdheepak/panvimdoc@main | |
with: | |
vimdoc: cyberdream | |
version: "Neovim >= 0.9.0" | |
titledatepattern: "%Y" | |
demojify: true | |
treesitter: true | |
- name: Push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "doc: auto-generate vimdoc" | |
release: | |
runs-on: ubuntu-latest | |
needs: [generate-extras, generate-doc, stylua] | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
with: | |
token: ${{ secrets.RELEASE_TOKEN }} | |
release-type: simple |