Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add gh token for setup-rust #3902

Merged
merged 2 commits into from
Sep 15, 2024

Conversation

Jayllyz
Copy link
Contributor

@Jayllyz Jayllyz commented Sep 15, 2024

Summary

Installing the toolchain can take a long time in macOS because of this issue : moonrepo/setup-rust#22

ex workflows where this happens:
https://github.com/biomejs/biome/actions/runs/10872714495/job/30168050791

Test Plan

Should work.

Copy link
Member

@nhedger nhedger left a comment

Choose a reason for hiding this comment

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

That's a good idea. Can you add the env only to the relevant steps? Adding it at the workflow level makes the secret available to all steps, even those that don't need it.

Copy link
Member

@nhedger nhedger left a comment

Choose a reason for hiding this comment

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

Thanks!

@nhedger nhedger merged commit 63bec3e into biomejs:main Sep 15, 2024
2 checks passed
@Jayllyz Jayllyz deleted the chore/setup-rust-403 branch September 15, 2024 18:32
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.

2 participants