Skip to content

Commit

Permalink
update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkowalczuk committed Jan 16, 2024
1 parent d9655be commit 21313f0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ on:
pull_request:
branches: [ "master" ]
jobs:
dependencies:
test:
runs-on: ubuntu-latest
container: node:10.18-jessie
# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
test:
runs-on: ubuntu-latest
steps:
- name: setup
uses: actions/setup-go@v4
Expand Down

0 comments on commit 21313f0

Please sign in to comment.