Hi everyone! We've been able to successfully setup our first consumer contract and it's publishing. The way we are doing is that the developers write the unit tests (JUnit) locally and once they are fine with the pact, they push it to git. The publishing of the contract happens then in the CI pipeline (Github Action) with the help of pact-cli tool. There we are cleanly setting the consumer version according to pact best practice, the branch name and the tags. In Pactflow we see consumer version, branch, tags nicely filled up.
Now we are looking towards the provider verification. We've written the tests then can verify the contracts but just wondering how the CI setup for it should look like. What is the recommended approach here? Should we be using the pact-cli here too? Also, how do we setup the provider version, branch etc. here? Do you have any example how to set all that up cleanly in a github action?
Many thanks in advance :)