chore: migrate repository to forgejo
This commit is contained in:
parent
d7a0fb654d
commit
85e55ce6f9
2 changed files with 1 additions and 34 deletions
|
|
@ -1,33 +0,0 @@
|
|||
image: "golang:alpine"
|
||||
stages:
|
||||
- "linter"
|
||||
- "testing"
|
||||
- "releasing"
|
||||
|
||||
linter:
|
||||
stage: "linter"
|
||||
image: "golangci/golangci-lint:latest-alpine"
|
||||
script:
|
||||
- "golangci-lint run *.go"
|
||||
|
||||
testing:
|
||||
stage: "testing"
|
||||
needs:
|
||||
- "linter"
|
||||
image: "cr.simoncor.net/siempie/go-build:latest"
|
||||
script:
|
||||
- "go test *.go"
|
||||
|
||||
releasing:
|
||||
stage: "releasing"
|
||||
needs:
|
||||
- "testing"
|
||||
image:
|
||||
name: "goreleaser/goreleaser:v2.12.3"
|
||||
entrypoint: [""]
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
variables:
|
||||
GITLAB_TOKEN: '$GORELEASER_GITLAB_TOKEN'
|
||||
script:
|
||||
- "goreleaser release --clean"
|
||||
|
|
@ -5,7 +5,7 @@ Only when debug is on, non fatal errors will be shown.
|
|||
|
||||
# Install
|
||||
```
|
||||
go get -u github.com/scornet256/go-logger
|
||||
go get -u git.simoncor.net/golang/logger
|
||||
```
|
||||
|
||||
# Basic usage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue