From b1f55d921ea33bf577e47746d3fcff458986c53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 21 Jun 2021 18:36:37 +0200 Subject: [PATCH] CI: Lint code --- .build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 6a6e3c9..d6fe4f3 100644 --- a/.build.yml +++ b/.build.yml @@ -1,6 +1,8 @@ image: archlinux packages: - go + - revive + - staticcheck sources: - https://git.xenrox.net/~xenrox/srhtctl triggers: @@ -8,6 +10,10 @@ triggers: condition: failure to: Thorben Günther tasks: - - build: | + - test: | cd srhtctl go test -v ./... + - lint: | + cd srhtctl + revive ./... + staticcheck ./... -- 2.44.0