fix: support YAML list format for frontmatter tags (#29) #63
This file contains hidden or 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: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Lua and LuaRocks | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y lua5.4 luarocks | |
| - name: Install luacheck | |
| run: | | |
| sudo luarocks install luacheck | |
| - name: Run linting | |
| run: | | |
| make lint | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| neovim_version: ['v0.8.0', 'v0.9.0', 'nightly'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Neovim | |
| uses: MunifTanjim/setup-neovim-action@v1 | |
| with: | |
| tag: ${{ matrix.neovim_version }} | |
| - name: Install dependencies | |
| run: | | |
| mkdir -p ~/.local/share/nvim/site/pack/vendor/start | |
| git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim | |
| git clone --depth 1 https://github.com/ibhagwan/fzf-lua ~/.local/share/nvim/site/pack/vendor/start/fzf-lua | |
| - name: Run tests | |
| run: | | |
| make test |