Skip to content

CI: Pin cargo-public-api version#2893

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:06-21-pin-cargo-public-api
Jun 21, 2024
Merged

CI: Pin cargo-public-api version#2893
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:06-21-pin-cargo-public-api

Conversation

@tcharding
Copy link
Copy Markdown
Member

So that updates don't break our CI setup used a specific version of cargo-public-api, this means we will have to update it manually periodically though.

For now, since the latest release just broke us, use the release from a month ago.

So that updates don't break our CI setup used a specific version of
`cargo-public-api`, this means we will have to update it manually
periodically though.

For now, since the latest release just broke us, use the release from a
month ago.
@tcharding tcharding force-pushed the 06-21-pin-cargo-public-api branch from e2365f4 to 7e3b2eb Compare June 20, 2024 22:47
Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 7e3b2eb

toolchain: ${{ needs.Prepare.outputs.nightly_version }}
- name: "Install cargo-public-api"
run: cargo install --locked cargo-public-api
run: cargo install cargo-public-api@0.35.0 --locked
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change the order? I'm surprised it even works. Usually switches go before positional arguments.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would guess that as long as everything is after install it'll work in any order.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh woops I just cut and pasted it from the docs at some stage while I was playing with it, I should not have included that change.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #2900

Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 7e3b2eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants