Why run the installation for PR? #1553
Closed
Jiahao XU (NobodyXu)
started this conversation in
General
Replies: 2 comments
|
It can probably be changed to run when a new release-tag is pushed, as this would mean that the version it tries to install is changed. on:
push:
# Enable when testing release infrastructure on a branch.
# branches:
# - fix-releases
tags:
- 'v*'
workflow_dispatch:
The above is probably what should trigger it - it's copied from |
0 replies
|
This was fixed in #1555. I mention that for readers who find this by searching, since unlike issues and pull requests, GitHub doesn't cross-link discussions. (I think this discussion is like an issue and fixed, and can thus be closed.) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/Byron/gitoxide/blob/da08b8bc912c4a89cedb73ef0d0ce627e6e84799/.github/workflows/ci.yml#L156
It simply compiles the one on crates.io which is immutable and not related to the current change in PR/commit.
And it takes 5m to compile and it cannot be cached, because cargo-install uses a temporary target dir by default.
I think it shall be removed, or changed to run only on release, or at least explicitly sets
./targetas target dir so that it can be cached.All reactions