Skip to content

Bump github.com/jackc/pgx from 3.0.1-0.20170728201109-511b90478f17+incompatible to 3.6.2+incompatible #51

Bump github.com/jackc/pgx from 3.0.1-0.20170728201109-511b90478f17+incompatible to 3.6.2+incompatible

Bump github.com/jackc/pgx from 3.0.1-0.20170728201109-511b90478f17+incompatible to 3.6.2+incompatible #51

Workflow file for this run

name: test
on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# Container operations, such as postgres, are only supported on Linux runners
# - macOS-latest
# - windows-latest
go:
- "1.19"
- "1.18"
- "1.17"
- "1.16"
services:
postgres:
image: postgres:12
env:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
- name: Prepare test database
run: make db
- name: Create table
run: make table
- name: Run test
run: make test