Skip to content

update dependencies #135

update dependencies

update dependencies #135

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
runner-job:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
strategy:
matrix:
go: ['1.20', '1.21']
name: Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go get -t -v ./...
- run: go test -coverprofile=coverage.txt -covermode=atomic ./...
env:
DB_URL: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
- uses: codecov/codecov-action@v3