fix ci
Some checks failed
ci/woodpecker/push/ci Pipeline failed
NeoVim tests / code-quality (push) Failing after 1m17s

This commit is contained in:
Jonathan Apodaca 2025-08-26 14:50:11 -06:00
parent 5dedfb991f
commit dbc359e55e
3 changed files with 15 additions and 4 deletions

View File

@ -14,16 +14,16 @@ jobs:
- name: Populate Nix store
run:
nix-shell --run 'true'
nix-shell --pure --run 'true'
- name: Type-check with lua-language-server
run:
nix-shell --run 'make lint'
nix-shell --pure --run 'make lint'
- name: Check formatting with stylua
run:
nix-shell --run 'make fmt-check'
nix-shell --pure --run 'make fmt-check'
- name: Run busted tests
run:
nix-shell --run 'make test'
nix-shell --pure --run 'make test'

10
.woodpecker/ci.yaml Normal file
View File

@ -0,0 +1,10 @@
when:
- event: push
steps:
- name: build
image: nixos/nix
commands:
- nix-shell --pure --run 'make lint'
- nix-shell --pure --run 'make fmt-check'
- nix-shell --pure --run 'make test'

View File

@ -19,6 +19,7 @@ pkgs.mkShell {
pkgs.lua51Packages.nlua
pkgs.neovim
pkgs.stylua
pkgs.tree-sitter-grammars.tree-sitter-json
pkgs.watchexec
];
}