From 92a76cb3e906e2f4259232f8040806db52a53a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Wed, 28 Sep 2022 15:26:56 +0200 Subject: [PATCH] CI: Add build manifest --- .build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..2a78e25 --- /dev/null +++ b/.build.yml @@ -0,0 +1,20 @@ +image: archlinux +packages: + - go + - staticcheck +sources: + - https://git.xenrox.net/~xenrox/twitch-bot +tasks: + - test: | + cd twitch-bot + go test -v ./... + - lint: | + cd twitch-bot + go vet ./... + staticcheck ./... + - build: | + cd twitch-bot + go build + - gofmt: | + cd twitch-bot + test -z $(gofmt -l .) -- 2.44.0