prevent history add on empty inputs #405
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: lint | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint with selene | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Run selene | |
uses: NTBBloodbath/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --display-style=quiet . | |
style-lint: | |
name: Stylua check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Lint with stylua | |
uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --check . | |
typecheck: | |
name: Typecheck sources | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
neovim_version: ["v0.10.1"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Checkout luvit types | |
uses: actions/checkout@v4 | |
with: | |
repository: Bilal2453/luvit-meta | |
path: deps/luvit-meta | |
- name: Checkout Neovim Types | |
uses: actions/checkout@v4 | |
with: | |
repository: neovim/neovim | |
path: deps/neovim | |
- name: Type Check Code Base | |
uses: mrcjkb/lua-typecheck-action@v1 | |
with: | |
configpath: .github/workflows/.luarc.json | |
directories: | | |
lua |