Vlad Ledniov
11/07/2022, 8:54 AM2022/11/07 08:46:42 [INFO] checking pact-mock-service within range >= 3.5.0, < 4.0.0
2022/11/07 08:46:42 [ERROR] CLI tools are out of date, please upgrade before continuing
from my `go.mod`:
<http://github.com/pact-foundation/pact-go|github.com/pact-foundation/pact-go> v1.7.0
I’m seeing that 2.x.x version is still in beta, so want to try Pact with a stable version first before doing a transition to 2.x.x.Matt (pactflow.io / pact-js / pact-go)
Vlad Ledniov
11/07/2022, 9:06 AMpact-dependencies:
echo "--- 🛠 Installing Pact CLI dependencies";\
curl -fsSL <https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh> | bash;
export PATH=$(PATH):/opt/pact/bin
Matt (pactflow.io / pact-js / pact-go)
/opt/
folder?Matt (pactflow.io / pact-js / pact-go)
install.sh
script doesn’t put the files in /opt/pact/bin
it extracts the files into the current working directory. So you would end up with /<cwd>/pact/bin
at the end of it.Matt (pactflow.io / pact-js / pact-go)
$PWD
in place of /opt
Vlad Ledniov
11/07/2022, 9:11 AMMatt (pactflow.io / pact-js / pact-go)