Skip to content

Update pkg name

Update pkg name #27

Workflow file for this run

name: Build and test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: golang:1.22
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: test
POSTGRES_USER: test
POSTGRES_DB: test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Run coverage
env:
POSTGRES_HOST: postgres
run: go test -race -coverprofile=coverage.out -covermode=atomic
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true