Skip to content

Fix: Update goreleaser to fix release failure #213

Fix: Update goreleaser to fix release failure

Fix: Update goreleaser to fix release failure #213

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
env:
POSTGRES_HOST: localhost
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test_stencil_db
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.20
id: go
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: "3.x"
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test
run: make test
env:
TEST_DB_CONNECTIONSTRING: "postgres://postgres:postgres@localhost:5432/test_stencil_db?sslmode=disable"