Skip to content

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 #65

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 #65

name: Integration test
on:
pull_request:
branches:
- main
jobs:
integration_test:
name: Integration test
strategy:
matrix:
go-version: [1.19.3]
platform: [ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Get testenv image tag
run : |
export TEST_IMAGE="$(make get-envtest-image-tag -s)"
echo "TEST_IMAGE=${TEST_IMAGE}" >> ${GITHUB_ENV}
- name: Log in to the Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
# Build a new testenv image to use if and only if the Dockerfile or Makefile is changed in this PR
- name: Build image
run : ./scripts/build-image-conditionally.sh
- name: Run integration tests
run : ./scripts/integration-test.sh