Skip to content

chore: update go modules #1316

chore: update go modules

chore: update go modules #1316

on:
push:
tags:
- v*
branches:
- master
paths:
- "**.go"
- "Makefile"
- "**.yaml"
- "**.yml"
- "test/**"
pull_request:
paths:
- "**.go"
- "Makefile"
- "**.yaml"
- "**.yml"
- "test/**"
name: Postgres-and-Push-Test
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
with:
go-version: 1.19.x
- name: Checkout code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
.bin
key: cache-${{ hashFiles('**/go.sum') }}-${{ hashFiles('.bin/*') }}
restore-keys: |
cache-
- run: make bin
- name: Test
run: ./test/e2e-postgres-push.sh