-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Added nix Flake check to flake.yml #323
Conversation
I will force push with a new commit message and then convert to a normal pull request |
This will add extra time for the checks to run since it's testing way more then just the nix build. But in my opinion that's not as important as ensuring the code does not accidentally break something |
I mean we already have quite a heavy setup with unit-tests right now, so it probably won't be much of a difference. |
In my personal projects with heavy tests I used the github auto merge feature maybe you want to take a look at it but there could be issues with the flake.yml action not being a |
Time reported by the github action:
which means 4min extra time. This should be fine. optionally we could remove the nix build because nix flake check also ensures building of the packages (with --all-systems on all supported targets). Or alternatively add |
The nix flake check Command Tests rather the nix package builds in all supported systems and checks formatting. Signed-off-by: naŭ glenda <plan9git@proton.me>
I mean this sounds sensible to do if we don't get anything out of build but waiting time. |
Ok I'm going to remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, thanks for the contribution, merging 👍
The nix flake check Command Tests rather the nix package builds in all supported systems and checks formatting.
This is a follow up to #293. There I was stating that shellcheck is executed through github actions which is not the case because of only running nix build.