mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
golangci-lint: fix build
This commit is contained in:
parent
d665aecd88
commit
afee6a053b
2 changed files with 5 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -26,6 +26,8 @@ jobs:
|
|||
- name: Add keys group (needed for go tests)
|
||||
run: sudo groupadd keys
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
- name: Run lint
|
||||
run: nix-build --no-out-link default.nix -A lint
|
||||
- name: Build nix packages
|
||||
run: nix-build --no-out-link release.nix
|
||||
- name: Run unit tests
|
||||
|
|
|
@ -34,6 +34,7 @@ in rec {
|
|||
buildPhase = ''
|
||||
HOME=$TMPDIR golangci-lint run
|
||||
'';
|
||||
doCheck = false;
|
||||
installPhase = ''
|
||||
touch $out
|
||||
'';
|
||||
|
@ -46,8 +47,9 @@ in rec {
|
|||
buildPhase = ''
|
||||
(cd pkgs/sops-install-secrets && gox -os linux)
|
||||
'';
|
||||
doCheck = false;
|
||||
installPhase = ''
|
||||
touch $out
|
||||
touch $out $unittest
|
||||
'';
|
||||
fixupPhase = ":";
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue