Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump github.com/go-pg/pg/v10 from 10.9.1 to 10.15.0 #24

Bump github.com/go-pg/pg/v10 from 10.9.1 to 10.15.0

Bump github.com/go-pg/pg/v10 from 10.9.1 to 10.15.0 #24

Workflow file for this run

name: Tests
on:
push:
branches-ignore:
- main
- image
- master
pull_request:
branches:
- main
- master
jobs:
tests:
name: tests
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: testmockdb
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Restore Cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-v1-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-v1-go-
- name: Test
run: make tests