Skip to content

[TH2-5109] Configure internal logger instead of global one (#13) #35

[TH2-5109] Configure internal logger instead of global one (#13)

[TH2-5109] Configure internal logger instead of global one (#13) #35

Workflow file for this run

name: Check library state
on: push
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler && protoc --version
- name: Check gRPC generated files not manually changed
shell: bash
run: |
make prepare-grpc-module
CHANGED=$(git diff --name-only ./pkg/common/grpc/**/*.go | wc -l)
if [ "${CHANGED}" -ne "0" ]; then
git diff ./pkg/common/grpc/**/*.go
echo "Committed Protobuf files do not match the newly generated. Please, regenerate Protobuf and commit changes"
exit 1
fi
- name: Build sources
run: make build
- name: Check sources
run: make run-test