Skip to content

fix: revert "chore(deps): Bump the production-dependencies group with 3 up… #1620

fix: revert "chore(deps): Bump the production-dependencies group with 3 up…

fix: revert "chore(deps): Bump the production-dependencies group with 3 up… #1620

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
pull_request:
env:
GO111MODULE: on
concurrency:
# Cancel previous workflows on branch push
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: build-${{ hashFiles('**/go.sum') }}
- name: Install protobuf codegen tool
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/protoc-3.14.0-linux-x86_64.zip
unzip protoc-3.14.0-linux-x86_64.zip -d $HOME/.local
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install go tools
run: |
cd /tmp
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
go install github.com/vektra/mockery/[email protected]
go install golang.org/x/tools/cmd/goimports@latest
- name: Build
run: make
- name: Lint
run: make lint-goimports
- name: Test
run: make test