Skip to content

Commit

Permalink
chore: temporarily use vendored libpact libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed May 29, 2021
1 parent 2e43467 commit 479e497
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 479e497

Please sign in to comment.