Skip to content

Commit

Permalink
ci: simpler devshell
Browse files Browse the repository at this point in the history
  • Loading branch information
aksiksi committed Oct 14, 2024
1 parent f550893 commit 7e2b374
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run tests with nixfmt
run: nix develop --command make coverage
run: nix develop .#ci --command make coverage
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
# Add a Git pre-commit hook.
shellHook = onchg.shellHook.${system};
};
ci = pkgs.mkShell {
# We already have Go installed.
buildInputs = [ pkgs.nixfmt-rfc-style ];
};
}
);

Expand Down

0 comments on commit 7e2b374

Please sign in to comment.