Skip to content

Release v10.12.0 (release.sh) #130

Release v10.12.0 (release.sh)

Release v10.12.0 (release.sh) #130

Workflow file for this run

name: Go
on:
push:
branches: [master, v10, v11]
pull_request:
branches: [master, v10, v11]
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
services:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
steps:
- name: Set up ${{ matrix.go-version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install hstore
run: PGPASSWORD=postgres psql -U postgres -h localhost -c "CREATE EXTENSION hstore"
- name: Test
run: make test