From daecdcaabf6785016e949ed824991285fe975835 Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Sat, 14 Mar 2020 10:28:45 -0400 Subject: [PATCH] ci: add skeleton for sourcehut annotations This commit adds the necessary task to the CI job to generate sourcehut annotations as documented here: https://man.sr.ht/git.sr.ht/annotations.md Signed-off-by: Chris Waldon --- .builds/linux.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.builds/linux.yml b/.builds/linux.yml index abb69483..56ea7ce4 100644 --- a/.builds/linux.yml +++ b/.builds/linux.yml @@ -23,6 +23,8 @@ packages: - wine sources: - https://git.sr.ht/~eliasnaur/gio +secrets: + - 0dd5efdf-400e-4735-8320-98b44844dfd0 environment: GOFLAGS: -mod=readonly PATH: /home/build/sdk/go/bin:/usr/bin @@ -49,3 +51,8 @@ tasks: - check_gofmt: | cd gio test -z "$(gofmt -s -l .)" + - annotate: | + go get git.sr.ht/~sircmpwn/annotatego + cd gio + ~/go/bin/annotatego -v -T gioui.org... > annotations.json + ../upload-annotations annotations.json eliasnaur gio