mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +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
|
- wine
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~eliasnaur/gio
|
- https://git.sr.ht/~eliasnaur/gio
|
||||||
|
secrets:
|
||||||
|
- 0dd5efdf-400e-4735-8320-98b44844dfd0
|
||||||
environment:
|
environment:
|
||||||
GOFLAGS: -mod=readonly
|
GOFLAGS: -mod=readonly
|
||||||
PATH: /home/build/sdk/go/bin:/usr/bin
|
PATH: /home/build/sdk/go/bin:/usr/bin
|
||||||
@@ -49,3 +51,8 @@ tasks:
|
|||||||
- check_gofmt: |
|
- check_gofmt: |
|
||||||
cd gio
|
cd gio
|
||||||
test -z "$(gofmt -s -l .)"
|
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