Skip to content

Commit

Permalink
ci: run devenv test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg committed Feb 5, 2025
1 parent 100db45 commit 5102b85
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: nix build .
- run: nix develop --impure --command bash -c "devenv test"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ helmfile-nix
result
.direnv
.devenv
.pre-commit-config.yaml
10 changes: 10 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,14 @@ in
helmfile
kubernetes-helm
];
pre-commit.hooks = {
gofmt.enable = true;
govet.enable = true;
golangci-lint.enable = true;
gotest.enable = true;
commitizen.enable = true;
};
enterTest = ''
nix build .
'';
}

0 comments on commit 5102b85

Please sign in to comment.