mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
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 <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user