Add ignore config by CUE #362
Workflow file for this run
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
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 ./... |