feat: allow specifying the number of lines to show around each match #15
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Style checking | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
runs-on: ubuntu-22.04 | |
name: prettier | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: pnpm/action-setup@v4.0.0 | |
- uses: actions/setup-node@v4.1.0 | |
with: | |
node-version-file: .nvmrc | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm prettier | |
stylua: | |
name: stylua | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: JohnnyMorganz/stylua-action@v4.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
# CLI arguments | |
args: --color always --check lua/ |