mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-17 04:20:59 +01:00
Compare commits
15 Commits
v0.0.7-cod
...
v0.0.7-cb5
| Author | SHA1 | Date | |
|---|---|---|---|
| cce26c562b | |||
| 6ceed77fd0 | |||
| 60a1d545ed | |||
| 3a72204915 | |||
| 0516534526 | |||
| d260f5299f | |||
| 1f93d2d37d | |||
| 55addf2a77 | |||
| 06dec42e83 | |||
| fceee7bc04 | |||
| 8edca6d367 | |||
| 1ab65e69a0 | |||
| 7a62b2d19d | |||
| 030c1ba495 | |||
| 9b6f062c65 |
28
.woodpecker/build.yaml
Normal file
28
.woodpecker/build.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- linux/amd64
|
||||||
|
goversion:
|
||||||
|
- 1.24
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: ${platform}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
image: golang:${goversion}
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go build
|
||||||
|
- go test
|
||||||
|
|
||||||
|
linter:
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
image: golang:${goversion}
|
||||||
|
commands:
|
||||||
|
#- go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0
|
||||||
|
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
|
||||||
|
- golangci-lint --version
|
||||||
|
- golangci-lint run ./...
|
||||||
27
.woodpecker/release.yaml
Normal file
27
.woodpecker/release.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# build release
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: linux/amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
when:
|
||||||
|
event: [tag]
|
||||||
|
image: golang:1.24
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- ./mkrel.sh epuppy v1-${CI_COMMIT_SHA:0:8}
|
||||||
|
#- ./mkrel.sh epuppy ${CI_COMMIT_TAG}
|
||||||
|
|
||||||
|
publish:
|
||||||
|
when:
|
||||||
|
event: [tag]
|
||||||
|
image: woodpeckerci/plugin-release
|
||||||
|
settings:
|
||||||
|
files:
|
||||||
|
- 'releases/epuppy-*-v1-${CI_COMMIT_SHA:0:8}'
|
||||||
|
api_key:
|
||||||
|
from_secret: DEPLOY_TOKEN
|
||||||
|
target: main
|
||||||
|
draft: true
|
||||||
|
generate-release-notes: true
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
[](https://github.com/tlinden/epuppy/actions)
|
[](https://ci.codeberg.org/repos/15473)
|
||||||
[](https://github.com/tlinden/epuppy/blob/master/LICENSE)
|
[](https://github.com/tlinden/epuppy/blob/master/LICENSE)
|
||||||
[](https://goreportcard.com/report/github.com/tlinden/epuppy)
|
[](https://goreportcard.com/report/github.com/tlinden/epuppy)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user