Skip to content

Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 in /postgres #2078

Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 in /postgres

Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 in /postgres #2078

Workflow file for this run

on:
push:
branches:
- master
- main
paths:
- 'postgres/**'
pull_request:
paths:
- 'postgres/**'
name: "Tests Postgres"
jobs:
Tests:
runs-on: ubuntu-latest
services:
postgres:
image: 'postgres:latest'
ports:
- '5432:5432'
env:
POSTGRES_DB: fiber
POSTGRES_USER: username
POSTGRES_PASSWORD: "pass#w%rd"
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5
strategy:
matrix:
go-version:
- 1.19.x
- 1.20.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
run: cd ./postgres && go test ./... -v -race
env:
POSTGRES_DATABASE: fiber
POSTGRES_USERNAME: username
POSTGRES_PASSWORD: "pass#w%rd"