fix: fix woodpecker deprecation warnings (#26)

Reviewed-on: twhelp/corev3#26
This commit is contained in:
Dawid Wysokiński 2024-01-03 08:15:45 +00:00
parent 8aed4e7eea
commit a44391c06f
1 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,8 @@ steps:
test:
image: *go_image
group: test
depends_on:
- generate
pull: true
environment:
TESTS_POSTGRES_CONNECTION_STRING:
@ -35,20 +36,21 @@ steps:
lint:
image: golangci/golangci-lint:v1.55
pull: true
group: test
depends_on:
- generate
commands:
- golangci-lint run
check-go-mod:
image: *go_image
group: test
depends_on:
- generate
pull: true
commands:
- go mod tidy
- git diff --exit-code go.mod
hadolint:
group: test
image: hadolint/hadolint:2.12.0-debian
commands:
- hadolint build/docker/twhelp/prod/Dockerfile build/docker/twhelp/dev/Dockerfile
@ -58,7 +60,6 @@ steps:
- build/docker/twhelp/dev/Dockerfile
yamllint:
group: test
image: cytopia/yamllint:1
pull: true
commands: