Skip to content

fix: bracket placement resulting in wrong type check (#7) #20

fix: bracket placement resulting in wrong type check (#7)

fix: bracket placement resulting in wrong type check (#7) #20

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
paths:
- "**/*.lua"
- "**/*.yml"
- "**/*.toml"
pull_request:
paths:
- "**/*.lua"
- "**/*.yml"
- "**/*.toml"
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 0.16.1
args: --check .
test:
needs: format
runs-on: ubuntu-latest
strategy:
matrix:
nvim-versions: ["stable", "nightly"]
steps:
- name: checkout
uses: actions/checkout@v3
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.nvim-versions }}
- name: run tests
run: make -C ./tests test