(mini.hipatterns) FEATURE: Implement get_matches()
.
#1095
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: Linting and style checking | |
on: | |
push: | |
branches-ignore: [ sync, stable ] | |
pull_request: | |
branches-ignore: [ sync, stable ] | |
jobs: | |
stylua: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: JohnnyMorganz/stylua-action@1.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: v0.14.0 | |
# CLI arguments | |
args: --color always --check . | |
gendoc: | |
name: Document generation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
id: neovim | |
with: | |
neovim: true | |
- uses: actions/checkout@v3 | |
- name: Generate documentation | |
run: make --silent documentation | |
- name: Check for changes | |
run: if [[ -n $(git status -s) ]]; then exit 1; fi | |
case-sensitivity: | |
name: File case sensitivity | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Check Case Sensitivity | |
uses: credfeto/action-case-checker@v1.2.1 | |
checkout: | |
# Test possibility of checking out and setting up 'mini.nvim' on non-Linux | |
# This can guard from possible problems: | |
# - Long file names (particularly from reference screenshots). | |
name: Test checkout | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
# Uses latest stable by default | |
neovim: true | |
- name: Test setup | |
run: make basic_setup |