Bump github.com/jackc/pgproto3/v2 from 2.0.4 to 2.3.3 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 ./... |