From 3922888a4501bb7298dd1cd4233846b8e15d5d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Tue, 8 Feb 2022 13:15:15 +0100 Subject: [PATCH] CI: Add build file --- .build.yml | 12 ++++++++++++ README.md | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..89ddd57 --- /dev/null +++ b/.build.yml @@ -0,0 +1,12 @@ +image: archlinux +packages: + - go +sources: + - https://git.xenrox.net/~xenrox/syncthing-status +tasks: + - test: | + cd syncthing-status + go test -v ./... + - gofmt: | + cd syncthing-status + test -z $(gofmt -l .) diff --git a/README.md b/README.md index 0a56e8a..75314e5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # syncthing-status +[![builds.sr.ht status](https://builds.xenrox.net/~xenrox/syncthing-status/commits.svg)](https://builds.xenrox.net/~xenrox/syncthing-status/commits?) + Outputs syncthing status as json for easy processing. -- 2.44.0