Skip to content

WIP

WIP #22

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# Label of the container job
runner-job:
runs-on: ubuntu-latest
# Service containers to run with `runner-job`
services:
postgres:
# Docker Hub image
image: timescale/timescaledb:latest-pg16
# Provide the password for postgres
env:
POSTGRES_PASSWORD: rFcLGNkgsNtksg6Pgtn9CumL4xXBQ7
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Build
run: make
- name: Test
run: TZ=Europe/Stockholm make test