Skip to content

chore(deps): update module google.golang.org/grpc to v1.69.2 #1324

chore(deps): update module google.golang.org/grpc to v1.69.2

chore(deps): update module google.golang.org/grpc to v1.69.2 #1324

Workflow file for this run

name: Go Test
on:
push:
branches:
- 3.x
pull_request:
branches:
- 3.x
env:
GOPROXY: "https://proxy.golang.org"
jobs:
test:
name: "go test"
strategy:
matrix:
go-version: [ 1.22.x, 1.23.x ]
platform: [ ubuntu-latest ]
mysql-version: [ 'mysql:latest', 'mysql:5.7' ]
runs-on: ${{ matrix.platform }}
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 6379:6379
mysql:
image: ${{ matrix.mysql-version }}
env:
MYSQL_DATABASE: gorm
MYSQL_USER: gorm
MYSQL_PASSWORD: gorm
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
ports:
- 3306:3306
options: >-
--health-cmd "mysqladmin ping -ugorm -pgorm"
--health-interval 10s
--health-start-period 10s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/go.sum"
- run: go version
- name: Run Buf
uses: bufbuild/buf-setup-action@v1.48.0
- run: |
buf --version
buf generate
- name: Run tests
run: make test-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}