Skip to content

chore(ci): download pact_ffi 0.5.12 from the dist-built release on Windows - #119

Merged
JP-Ellis merged 1 commit into
mainfrom
chore/pact-ffi-dist-release
Oct 20, 2026
Merged

JP-Ellis merged 1 commit into
mainfrom
chore/pact-ffi-dist-release

Conversation

@JP-Ellis

Copy link
Copy Markdown
Member

Goal

pact-reference now builds pact_ffi with cargo-dist and publishes it as pact_ffi-v<version>. The legacy libpact_ffi-v<version> release, with its single-file .gz assets, stops being published on 2027-06-30. Release: https://github.com/pact-foundation/pact-reference/releases/tag/pact_ffi-v0.5.12

Changes

The Windows step of the gRPC examples job in .github/workflows/examples.yml now downloads pact_ffi-x86_64-pc-windows-msvc.zip, verifies it with the release's .sha256 file, and extracts pact_ffi.dll to ~/.pact. The following cp into consumer-go is unchanged.

This bumps pact_ffi from 0.5.6 to 0.5.12, because the new archive layout exists only from 0.5.12.

scripts/install-verifier-cli.sh and the pact_verifier_cli downloads are out of scope.

Testing

  • actionlint reports no findings on the changed lines (the remaining findings in the file already existed).
  • Downloaded the 0.5.12 zip, checked the sha256 (OK), and listed the archive: pact_ffi.dll sits at the zip root.
  • Not run: the Windows job itself. The step uses 7z and sha256sum, which the Windows runner image and Git Bash provide.

…ndows

The Windows gRPC example job fetched pact_ffi 0.5.6 from the legacy
libpact_ffi-v0.5.6 release as a single .gz file. The legacy release stops
being published on 2027-06-30. The job now downloads
pact_ffi-x86_64-pc-windows-msvc.zip from pact_ffi-v0.5.12, checks it against
the published .sha256 file, and extracts pact_ffi.dll to ~/.pact.

This also bumps the FFI library from 0.5.6 to 0.5.12, the first version that
ships the dist archive layout.

Assisted-by: Claude Code:claude-opus-5-5
@JP-Ellis
JP-Ellis marked this pull request as ready for review October 20, 2026 05:40
@JP-Ellis
JP-Ellis merged commit 0d5379b into main Oct 20, 2026
24 checks passed
@JP-Ellis
JP-Ellis deleted the chore/pact-ffi-dist-release branch October 20, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant