Skip to content

Commit

Permalink
Add make-checks to the Github Actions
Browse files Browse the repository at this point in the history
This adds the initial evaluation checker to ensure all changes can be
evaluated across all the flake targets.

Signed-off-by: Brian McGillion <[email protected]>
  • Loading branch information
brianmcgillion committed Aug 20, 2024
1 parent 93b8fa5 commit 01071e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: nix develop --command reuse lint
- name: Check nix flake show runs successfully
run: nix flake show
- name: evaluation check
run: nix develop --command make-checks
- name: Check templates
run: |
set -eux -o pipefail
Expand Down
3 changes: 3 additions & 0 deletions packages/make-checks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ writeShellApplication {
if [[ -n "''${GITHUB_STEP_SUMMARY-}" ]]; then
log() {
#Print to the Summary
echo "$*" >> "$GITHUB_STEP_SUMMARY"
#Print to the inline log
echo "$*"
}
else
log() {
Expand Down

0 comments on commit 01071e2

Please sign in to comment.