Introduce CI with linting

6 jobs for add/ci in 3 minutes and 30 seconds (queued for 13 seconds)
Status Job ID Name Coverage
  Test
passed #557
code_coverage

00:02:55

failed #558
lint_code

00:01:59

failed #556
memory_sanitizer

00:02:32

failed #555
race_detector

00:02:42

failed #554
unit_tests

00:03:21

 
  Build
skipped #559
build
 
Name Stage Failure
failed
unit_tests Test
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
github.com/joshbetz/config (download)
$ make test
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
# git.ethitter.com/open-source/dyndnsd-client
./dyndnsd-client.go:38: Println arg list ends with redundant newline
Makefile:14: recipe for target 'test' failed
make: *** [test] Error 2
ERROR: Job failed: exit code 1
failed
race_detector Test
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
github.com/joshbetz/config (download)
$ make race
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
# git.ethitter.com/open-source/dyndnsd-client
./dyndnsd-client.go:38: Println arg list ends with redundant newline
make: *** [race] Error 2
Makefile:17: recipe for target 'race' failed
ERROR: Job failed: exit code 1
failed
memory_sanitizer Test
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
github.com/joshbetz/config (download)
$ make msan
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
# git.ethitter.com/open-source/dyndnsd-client
./dyndnsd-client.go:38: Println arg list ends with redundant newline
Makefile:20: recipe for target 'msan' failed
make: *** [msan] Error 2
ERROR: Job failed: exit code 1
failed
lint_code Test
warning: "git.ethitter.com/debian/dyndnsd-client/..." matched no packages
dyndnsd-client.go:64:10: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
dyndnsd-client.go:118:6: func buildEndpointUrl should be buildEndpointURL
dyndnsd-client.go:135:2: var daemonUrl should be daemonURL
dyndnsd-client.go:155:6: func getUrl should be getURL
Found 4 lint suggestions; failing.
Makefile:11: recipe for target 'lint' failed
make: *** [lint] Error 1
ERROR: Job failed: exit code 1