fix: fix woodpecker deprecation warnings (#26)
Reviewed-on: twhelp/corev3#26
This commit is contained in:
parent
8aed4e7eea
commit
a44391c06f
|
@ -24,7 +24,8 @@ steps:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: *go_image
|
image: *go_image
|
||||||
group: test
|
depends_on:
|
||||||
|
- generate
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
TESTS_POSTGRES_CONNECTION_STRING:
|
TESTS_POSTGRES_CONNECTION_STRING:
|
||||||
|
@ -35,20 +36,21 @@ steps:
|
||||||
lint:
|
lint:
|
||||||
image: golangci/golangci-lint:v1.55
|
image: golangci/golangci-lint:v1.55
|
||||||
pull: true
|
pull: true
|
||||||
group: test
|
depends_on:
|
||||||
|
- generate
|
||||||
commands:
|
commands:
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
|
||||||
check-go-mod:
|
check-go-mod:
|
||||||
image: *go_image
|
image: *go_image
|
||||||
group: test
|
depends_on:
|
||||||
|
- generate
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- git diff --exit-code go.mod
|
- git diff --exit-code go.mod
|
||||||
|
|
||||||
hadolint:
|
hadolint:
|
||||||
group: test
|
|
||||||
image: hadolint/hadolint:2.12.0-debian
|
image: hadolint/hadolint:2.12.0-debian
|
||||||
commands:
|
commands:
|
||||||
- hadolint build/docker/twhelp/prod/Dockerfile build/docker/twhelp/dev/Dockerfile
|
- hadolint build/docker/twhelp/prod/Dockerfile build/docker/twhelp/dev/Dockerfile
|
||||||
|
@ -58,7 +60,6 @@ steps:
|
||||||
- build/docker/twhelp/dev/Dockerfile
|
- build/docker/twhelp/dev/Dockerfile
|
||||||
|
|
||||||
yamllint:
|
yamllint:
|
||||||
group: test
|
|
||||||
image: cytopia/yamllint:1
|
image: cytopia/yamllint:1
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue