Skip to content

Add "nix flake fmt" builtin formatter #308

Add "nix flake fmt" builtin formatter

Add "nix flake fmt" builtin formatter #308

Workflow file for this run

name: Build
on:
pull_request:
push:
branches: [main]
jobs:
stylua:
name: Check codestyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check .
version: v0.20.0
selene:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: NTBBloodbath/selene-action@68d1ed05cd53716aa8b9b3b81f8b63462949fab6
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always ./lua
version: 0.26.1
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: none-ls.nvim
- uses: actions/checkout@v4
with:
repository: nvim-lua/plenary.nvim
path: none-ls.nvim/.tests/site/pack/deps/start/plenary.nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: make test
working-directory: none-ls.nvim
timeout-minutes: 1