Skip to content

Bump goreleaser/goreleaser-action from 4.4.0 to 6.0.0 #134

Bump goreleaser/goreleaser-action from 4.4.0 to 6.0.0

Bump goreleaser/goreleaser-action from 4.4.0 to 6.0.0 #134

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
services:
db:
image: postgres:13
env:
POSTGRES_PASSWORD: heimdall
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.17
- uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: go-${{ hashFiles('**/go.sum') }}
restore-keys: go-
- run: make fmtcheck
- run: make test
env:
PGPASSWORD: heimdall
DATABASE_URL: "postgres://postgres@localhost/postgres?sslmode=disable"