Skip to content

Add ignore config by CUE #362

Add ignore config by CUE

Add ignore config by CUE #362

Workflow file for this run

name: test
on: [push]
jobs:
testing:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpass
POSTGRES_DB: testdb
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout upstream repo
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- run: go test --tags github ./...
env:
TEST_DB_DSN: "user=pguser password=pgpass dbname=testdb sslmode=disable"
- run: go vet --tags github ./...