Skip to content

Bump github.com/jackc/pgx/v4 from 4.8.1 to 4.18.2 #12

Bump github.com/jackc/pgx/v4 from 4.8.1 to 4.18.2

Bump github.com/jackc/pgx/v4 from 4.8.1 to 4.18.2 #12

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
container: golang:1.16
env:
PG_CONN_STRING: "postgres://postgres:postgres@postgres/que_go_test"
services:
postgres:
image: postgres:13.2
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: que_go_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Install postgres
run: apt-get update && apt-get install -y postgresql
- name: Check out repository code
uses: actions/checkout@v2
- name: Run Schema
run: psql "$PG_CONN_STRING" -f schema.sql
- name: Test
run: go test ./...