Skip to content

[TH2-5181] Add rabbitmq connection and consumer recovery (#16) #48

[TH2-5181] Add rabbitmq connection and consumer recovery (#16)

[TH2-5181] Add rabbitmq connection and consumer recovery (#16) #48

Workflow file for this run

name: Check library state
on: push
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- 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