Skip to content

Bump google.golang.org/protobuf from 1.27.1 to 1.33.0 #212

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

Bump google.golang.org/protobuf from 1.27.1 to 1.33.0 #212

Workflow file for this run

on:
push:
branches: [master]
tags: ["*"]
pull_request:
types: [opened, synchronize, reopened]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.22.x]
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: gotrue_test
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: make deps
- name: Apply database migrations
run: make migrate_test
- name: Lint and test
run: make all
- name: Trigger CircleCI for deployment
if: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == 'netlify/gotrue') && matrix.go-version == '1.15.x' }}
run: |
curl -X POST --silent --show-error --fail \
-H 'Circle-Token: ${{ secrets.CIRCLE_TOKEN }}' \
-H 'content-type: application/json' \
--data '{ "branch": "master", "parameters": { "branch": "${{ github.event.pull_request.head.ref || github.ref_name }}", "commit": "${{ github.event.pull_request.head.sha || github.sha }}" } }' \
https://circleci.com/api/v2/project/gh/netlify/gotrue-ci/pipeline