feat(ci): CI nix devShell

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-23 12:54:15 -03:00
parent 18e1909861
commit bd3e1401b3
2 changed files with 16 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: Install nix
uses: nixbuild/nix-quick-install-action@v28
- name: Start shell
run: nix develop
run: nix develop .#CI
- name: Build
run: make build-vercel
- name: Deploy

View File

@@ -19,16 +19,20 @@
templ = inputs.templ.packages.${system}.templ;
in
{
devShells.default =
pkgs.mkShell
{
buildInputs = with pkgs; [
air
go
golangci-lint
templ
nodePackages_latest.vercel
];
};
devShells.CI = pkgs.mkShell {
buildInputs = with pkgs; [
go
templ
];
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
air
go
golangci-lint
templ
nodePackages_latest.vercel
];
};
});
}