All checks were successful
NeoVim tests / code-quality (push) Successful in 1m27s
30 lines
745 B
YAML
30 lines
745 B
YAML
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
name: NeoVim tests
|
|
on: [push]
|
|
jobs:
|
|
code-quality:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
XDG_CONFIG_HOME: ${{ github.workspace }}/.config/
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- name: Populate Nix store
|
|
run:
|
|
nix-shell --run 'true'
|
|
|
|
- name: Type-check with lua-language-server
|
|
run:
|
|
nix-shell --run 'make lint'
|
|
|
|
- name: Check formatting with stylua
|
|
run:
|
|
nix-shell --run 'make fmt-check'
|
|
|
|
- name: Run busted tests
|
|
run:
|
|
nix-shell --run 'make test'
|