From 479e4977d616d905a7790dfe6f4b201dd93cc5f1 Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Sun, 30 May 2021 09:40:23 +1000 Subject: [PATCH] chore: temporarily use vendored libpact libraries --- .github/workflows/test.yml | 3 +++ README.md | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a8c9cf186..b601404a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,9 @@ jobs: steps: - name: Set Golang shared lib directory for GH Actions run: | + # Temporarily download pact-go release libs + curl -L https://github.com/pact-foundation/pact-go/releases/download/2.0.0-alpha.1/libpact_linux.zip > /tmp/libpact.zip + unzip /tmp/libpact.zip -d /tmp/ echo "LD_LIBRARY_PATH=/tmp" >> $GITHUB_ENV echo "PACT_GO_LIB_DOWNLOAD_PATH=/tmp" >> $GITHUB_ENV echo "LOG_LEVEL=trace" >> $GITHUB_ENV diff --git a/README.md b/README.md index ace438e0e..ed220654b 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Read [Getting started with Pact] for more information for beginners. - [Table of Contents](#table-of-contents) - [Versions](#versions) - [Installation](#installation) + - [Temporary](#temporary) - [Go get](#go-get) - [Manual](#manual) - [Using Pact](#using-pact) @@ -105,11 +106,10 @@ _\*_ v3 support is limited to the subset of functionality required to enable lan ## Installation -General guide: +### Temporary -1. Download the latest FFI [libraries] and install into a default library search path: - -See below for how to automate this: +1. Run `go get github.com/pact-foundation/pact-go` to install the source packages, and the installer code +1. Install the vendored libraries from https://github.com/pact-foundation/pact-go/releases/tag/2.0.0-alpha.1 into your library search path ### Go get @@ -889,6 +889,7 @@ See [CONTRIBUTING](CONTRIBUTING.md). [@pact_up]: https://twitter.com/pact_up [pact specification v2]: https://github.com/pact-foundation/pact-specification/tree/version-2 [pact specification v3]: https://github.com/pact-foundation/pact-specification/tree/version-3 +[libraries]: https://github.com/pact-foundation/pact-reference/releases [cli tools]: https://github.com/pact-foundation/pact-reference/releases [installation]: #installation [message support]: https://github.com/pact-foundation/pact-specification/tree/version-3#introduces-messages-for-services-that-communicate-via-event-streams-and-message-queues