1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff --git a/.build.yml b/.build.yml
index bc6f3708a5dd8c0587fc756c6c6eae948c0135e0..c64be693cb7238f9b09f1d26c201ff9a55750912 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,10 +1,17 @@
-image: archlinux
+image: alpine/edge
packages:
- go
shell: false
+secrets:
+- 4865f9c5-a426-4b08-a045-50e0ba85d7e3
sources:
- https://git.sr.ht/~poldi1405/nntp
tasks:
- - go-test: |
+- add-credentials: |
+ if [ "$BUILD_SUBMITTER" == "git.sr.ht" ]; then
+ cd nntp
+ patch -u variables_test.go -i ~/add-credentials.patch
+ fi
+- go-test: |
cd nntp
go test -v -cover
|