Skip to content

[DB-233] Bump google.golang.org/grpc from 1.45.0 to 1.53.0 #667

[DB-233] Bump google.golang.org/grpc from 1.45.0 to 1.53.0

[DB-233] Bump google.golang.org/grpc from 1.45.0 to 1.53.0 #667

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Code generation & compile
strategy:
matrix:
os: [ ubuntu-latest, windows-2019, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Generate protos and build project (Powershell)
if: ${{ matrix.os == 'windows-2019' }}
run: .\build.ps1 -generateProtos
shell: pwsh
- name: Generate protos and build project (Bash)
if: ${{ matrix.os != 'windows-2019' }}
run: ./build.sh --generate-protos
tests:
needs: build
name: Tests
strategy:
matrix:
version: [ previous-lts, lts, latest ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Tests
run: |
touch vars.env
docker-compose up
docker-compose --file=cluster-docker-compose.yml up -d
go test -v ./...
docker-compose down
docker-compose --file=cluster-docker-compose.yml down
env:
EVENTSTORE_DOCKER_TAG_ENV: ${{ matrix.version }}
linting:
needs: tests
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Linting
run: go vet ./...
- name: Code formatting checks
run: diff -u <(echo -n) <(goimports -d ./)