Improve flake check
This commit is contained in:
		| @@ -33,11 +33,12 @@ | |||||||
|             name = "golangci-lint"; |             name = "golangci-lint"; | ||||||
|             nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.golangci-lint ]; |             nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.golangci-lint ]; | ||||||
|             buildPhase = '' |             buildPhase = '' | ||||||
|               HOME=$TMPDIR golangci-lint run --timeout 360s |               HOME=$TMPDIR golangci-lint run --timeout 360s --out-format=junit-xml > lint.xml | ||||||
|             ''; |             ''; | ||||||
|             doCheck = false; |             doCheck = false; | ||||||
|             installPhase = '' |             installPhase = '' | ||||||
|               touch $out $unittest |               mkdir -p "$out" | ||||||
|  |               install lint.xml "$out/lint.xml" | ||||||
|             ''; |             ''; | ||||||
|             fixupPhase = ":"; |             fixupPhase = ":"; | ||||||
|           }); |           }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user