mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
Fix: rewrite CI config
This commit is contained in:
+4
-2
@@ -3,7 +3,9 @@ steps:
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
- go run main.go &
|
||||
- sleep 5
|
||||
- go mod download
|
||||
- CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o pixivfe
|
||||
- ./pixivfe &
|
||||
- sleep 3
|
||||
- go test -v
|
||||
secrets: [pixivfe_token]
|
||||
|
||||
Reference in New Issue
Block a user