Skip to content

Commit

Permalink
add CI check for CUE validity
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Feb 19, 2021
1 parent 5117111 commit e925bda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
name: vit-ops
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix run .#checkFmt
- run: nix run .#checkCue
- run: nix -L build .#devShellPath
5 changes: 5 additions & 0 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ in {
. ${./pkgs/check_fmt.sh}
'';

checkCue = final.writeShellScriptBin "check_cue.sh" ''
export PATH="$PATH:${lib.makeBinPath (with final; [ cue ])}"
cue vet -c
'';

cue = final.callPackage ./pkgs/cue.nix { };

debugUtils = with final; [
Expand Down

0 comments on commit e925bda

Please sign in to comment.