Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): run Nix flake checks in GitHub Actions workflow #9

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

tomeon
Copy link
Collaborator

@tomeon tomeon commented Feb 27, 2024

Basically what it says on the tin -- run nix flake check in the GitHub Actions workflow. I've also added support for nix run '.#' -- <devshell-command>; that is, I've updated the Nix flake to make it possible to run commands inside this project's development shell without first having to enter the development shell with nix develop.

in order to do something sensible for `nix build`.
via making the devshell's `flakeApp` attribute the default flake
application.  It is now possible to do (say) `nix run '.#'-- vagrant up`
and spin up this project's Vagrant environment without first entering a
devshell with `nix develop`.
@tomeon tomeon marked this pull request as draft February 27, 2024 14:22
@tomeon tomeon force-pushed the nix-flake-check-ci branch from 5019360 to 4f74684 Compare March 9, 2024 01:39
@tomeon tomeon marked this pull request as ready for review March 12, 2024 18:07
@jose1711 jose1711 merged commit 3ec5695 into jose1711:master Mar 15, 2024
13 of 14 checks passed
@jose1711
Copy link
Owner

Thank you!

@tomeon tomeon deleted the nix-flake-check-ci branch March 15, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants