Repository navigation
chore(ci): download pact_ffi 0.5.12 from the dist-built release on Windows - #119
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
pact-reference now builds pact_ffi with cargo-dist and publishes it as
pact_ffi-v<version>. The legacylibpact_ffi-v<version>release, with its single-file.gzassets, stops being published on 2027-06-30. Release: https://github.com/pact-foundation/pact-reference/releases/tag/pact_ffi-v0.5.12Changes
The Windows step of the gRPC examples job in
.github/workflows/examples.ymlnow downloadspact_ffi-x86_64-pc-windows-msvc.zip, verifies it with the release's.sha256file, and extractspact_ffi.dllto~/.pact. The followingcpintoconsumer-gois 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.shand the pact_verifier_cli downloads are out of scope.Testing
actionlintreports no findings on the changed lines (the remaining findings in the file already existed).pact_ffi.dllsits at the zip root.7zandsha256sum, which the Windows runner image and Git Bash provide.