nixbot

builds

failed niks3-tests-1.16.2 checks.x86_64-linux.golangci-lint · build #479 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/h20i87hkpmjih5ijf4q1q4nk7lnbzycd-source3source root is source
buildPhase
4client/upload.go:556:1: cyclomatic complexity 32 of func `(*Client).PushPaths` is high (> 30) (gocyclo)5func (c *Client) PushPaths(ctx context.Context, paths []string) ([]string, error) {6^7client/trust_push_test.go:38:11: G306: Expect WriteFile permissions to be 0600 or less (gosec)8 if err = os.WriteFile(filepath.Join(bin, "nix"), []byte("#!/bin/sh\ncat \"$NIKS3_TEST_PATH_INFO\"\n"), 0o700); err != nil {9 ^10client/trust_push_test.go:1:9: package should be `client_test` instead of `client` (testpackage)11package client12 ^133 issues:14* gocyclo: 115* gosec: 116* testpackage: 1