fix ci
This commit is contained in:
parent
5dedfb991f
commit
caab63c2bb
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -14,16 +14,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Populate Nix store
|
- name: Populate Nix store
|
||||||
run:
|
run:
|
||||||
nix-shell --run 'true'
|
nix-shell --pure --run 'true'
|
||||||
|
|
||||||
- name: Type-check with lua-language-server
|
- name: Type-check with lua-language-server
|
||||||
run:
|
run:
|
||||||
nix-shell --run 'make lint'
|
nix-shell --pure --run 'make lint'
|
||||||
|
|
||||||
- name: Check formatting with stylua
|
- name: Check formatting with stylua
|
||||||
run:
|
run:
|
||||||
nix-shell --run 'make fmt-check'
|
nix-shell --pure --run 'make fmt-check'
|
||||||
|
|
||||||
- name: Run busted tests
|
- name: Run busted tests
|
||||||
run:
|
run:
|
||||||
nix-shell --run 'make test'
|
nix-shell --pure --run 'make test'
|
||||||
|
10
.woodpecker/ci.yaml
Normal file
10
.woodpecker/ci.yaml
Normal 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'
|
10
shell.nix
10
shell.nix
@ -17,7 +17,15 @@ pkgs.mkShell {
|
|||||||
pkgs.lua51Packages.luacov
|
pkgs.lua51Packages.luacov
|
||||||
pkgs.lua51Packages.luarocks
|
pkgs.lua51Packages.luarocks
|
||||||
pkgs.lua51Packages.nlua
|
pkgs.lua51Packages.nlua
|
||||||
pkgs.neovim
|
(pkgs.neovim.override {
|
||||||
|
configure = {
|
||||||
|
packages.myVimPackage = {
|
||||||
|
start = [
|
||||||
|
(pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [ p.json ]))
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
pkgs.stylua
|
pkgs.stylua
|
||||||
pkgs.watchexec
|
pkgs.watchexec
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user