Skip to content

Initial implementation of GCS function table and GCS object table #6

Initial implementation of GCS function table and GCS object table

Initial implementation of GCS function table and GCS object table #6

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go Build and Test
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
setup-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: go
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22' # Specify your Go version
- name: Install Protobuf Compiler
run: sudo apt-get install -y protobuf-compiler
- name: Install Go protobuf plugins
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
echo "PATH=$PATH:$(go env GOPATH)/bin" >> $GITHUB_ENV
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...