renovate
083573ecb9
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | postgres | docker | minor | `14.4` -> `14.5` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE3My4xIn0=--> Co-authored-by: Renovate <renovate@dwysokinski.me> Co-authored-by: Dawid Wysokiński <contact@dwysokinski.me> Reviewed-on: twhelp/core#66 Co-authored-by: renovate <renovate@noreply.localhost> Co-committed-by: renovate <renovate@noreply.localhost>
67 lines
1.0 KiB
YAML
67 lines
1.0 KiB
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: test
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:1.19
|
|
environment:
|
|
TESTS_DB_DSN: postgres://postgres:twhelptest@database:5432/twhelptest?sslmode=disable
|
|
commands:
|
|
- make generate
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
|
|
|
services:
|
|
- name: database
|
|
image: postgres:14.5
|
|
environment:
|
|
POSTGRES_DB: twhelptest
|
|
POSTGRES_PASSWORD: twhelptest
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
branch:
|
|
- master
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: check-go-mod
|
|
|
|
steps:
|
|
- name: check go.mod
|
|
image: golang:1.19
|
|
commands:
|
|
- make generate
|
|
- go mod tidy
|
|
- git diff --exit-code go.mod
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
branch:
|
|
- master
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: golangci-lint
|
|
|
|
steps:
|
|
- name: run golangci-lint
|
|
image: golangci/golangci-lint:v1.49
|
|
commands:
|
|
- make generate
|
|
- golangci-lint run
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
branch:
|
|
- master
|