|
|
@ -9,7 +9,7 @@ steps:
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
|
- go test -v ./...
|
|
|
|
- go test -v ./...
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go test
|
|
|
|
name: go test
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -21,7 +21,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build linux/amd64
|
|
|
|
name: go build linux/amd64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -57,7 +57,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: windows
|
|
|
|
GOOS: windows
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build windows/amd64
|
|
|
|
name: go build windows/amd64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -93,7 +93,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: darwin
|
|
|
|
GOOS: darwin
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build darwin/amd64
|
|
|
|
name: go build darwin/amd64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -123,7 +123,7 @@ steps:
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
|
- go test -v ./...
|
|
|
|
- go test -v ./...
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go test
|
|
|
|
name: go test
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -135,7 +135,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build linux/amd64
|
|
|
|
name: go build linux/amd64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -147,7 +147,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: arm64
|
|
|
|
GOARCH: arm64
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build linux/arm64
|
|
|
|
name: go build linux/arm64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -159,7 +159,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: "386"
|
|
|
|
GOARCH: "386"
|
|
|
|
GOOS: linux
|
|
|
|
GOOS: linux
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build linux/386
|
|
|
|
name: go build linux/386
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -171,7 +171,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: windows
|
|
|
|
GOOS: windows
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build windows/amd64
|
|
|
|
name: go build windows/amd64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -183,7 +183,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: "386"
|
|
|
|
GOARCH: "386"
|
|
|
|
GOOS: windows
|
|
|
|
GOOS: windows
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build windows/386
|
|
|
|
name: go build windows/386
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -195,7 +195,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: amd64
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: darwin
|
|
|
|
GOOS: darwin
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build darwin/amd64
|
|
|
|
name: go build darwin/amd64
|
|
|
|
- commands:
|
|
|
|
- commands:
|
|
|
@ -207,7 +207,7 @@ steps:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
GOARCH: arm64
|
|
|
|
GOARCH: arm64
|
|
|
|
GOOS: darwin
|
|
|
|
GOOS: darwin
|
|
|
|
GOPROXY: https://proxy.golang.org,https://goproxy.io,direct
|
|
|
|
GOPROXY: https://goproxy.io,direct
|
|
|
|
image: golang:1.22
|
|
|
|
image: golang:1.22
|
|
|
|
name: go build darwin/arm64
|
|
|
|
name: go build darwin/arm64
|
|
|
|
- image: plugins/gitea-release
|
|
|
|
- image: plugins/gitea-release
|
|
|
|