Skip to content

lint: fix linting errors across the codebase #49

lint: fix linting errors across the codebase

lint: fix linting errors across the codebase #49

Workflow file for this run

name: Pipeline
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout Netrw
uses: actions/checkout@v3
with:
path: netrw.nvim
- name: Checkout Plenary
uses: actions/checkout@v3
with:
repository: nvim-lua/plenary.nvim
path: netrw.nvim/.tests/site/pack/deps/start/plenary.nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: make test
working-directory: netrw.nvim
timeout-minutes: 1