generated from VLADIMIR/template
20 lines
448 B
YAML
20 lines
448 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: backend
|
|
|
|
steps:
|
|
- name: check
|
|
image: golang:1.27.0-bookworm
|
|
environment:
|
|
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable
|
|
commands:
|
|
- go version
|
|
- go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0
|
|
- make check
|
|
|
|
services:
|
|
- name: postgres
|
|
image: postgres:18
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|