Skip to content

Commit

Permalink
Revert "actions: try nix flake check --no-build"
Browse files Browse the repository at this point in the history
This reverts commit 71ec574.
  • Loading branch information
thiagokokada committed Sep 20, 2023
1 parent 71ec574 commit d611822
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
run: git config --global init.defaultBranch master
- name: Check if all `.nix` files are formatted correctly
run: nix run '.#formatCheck'
- name: Validate Flakes
run: nix flake check --no-build
- name: 'Build Home-Manager configs for: home-linux, steamdeck'
run: |-
nix build --print-build-logs '.#homeConfigurations.home-linux.activationPackage'
Expand Down
2 changes: 1 addition & 1 deletion actions/build-and-cache.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ with constants;
cachixActionStep
setDefaultGitBranchStep
checkNixStep
validateFlakesStep
# validateFlakesStep
(buildHomeManagerConfigurations { })
(buildNixOSConfigurations { })
];
Expand Down
2 changes: 1 addition & 1 deletion actions/steps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ with constants;
};
validateFlakesStep = {
name = "Validate Flakes";
run = "nix flake check --no-build";
run = "nix flake check";
};
buildHomeManagerConfigurations = { hostnames ? constants.home-manager.linux.hostnames, extraNixFlags ? [ ] }: {
name = "Build Home-Manager configs for: ${builtins.concatStringsSep ", " hostnames}";
Expand Down

0 comments on commit d611822

Please sign in to comment.