Skip to content

Add a method to the gRPC API to summarize a piece of text, which uses… #9

Add a method to the gRPC API to summarize a piece of text, which uses…

Add a method to the gRPC API to summarize a piece of text, which uses… #9

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Testcases
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.x
- name: Install Protocol Buffers Compiler
run: sudo apt-get install -y protobuf-compiler
- name: Install protoc-gen-go
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
- name: Install protoc-gen-go-grpc
run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
- name: Generate gRPC code
run: ./scripts/genproto.sh
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test ./... -v