Skip to content

Migrate from actions-rs to dtolnay/rust-toolchain in GitHub actions #29

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

Merged
merged 6 commits into from
Mar 24, 2023
Merged

Migrate from actions-rs to dtolnay/rust-toolchain in GitHub actions #29

merged 6 commits into from
Mar 24, 2023

Conversation

paul-hansen
Copy link
Contributor

Fixes #18

The previous PR for this seems to have been abandoned. After messing with that branch for a bit, I found it easier to start from scratch.

@alice-i-cecile alice-i-cecile requested a review from mockersf March 18, 2023 00:08
@alice-i-cecile alice-i-cecile added this to the Jam 3 milestone Mar 18, 2023
@paul-hansen
Copy link
Contributor Author

paul-hansen commented Mar 18, 2023

@@ -69,7 +67,7 @@ jobs:
- uses: little-core-labs/get-git-tag@v3.0.1
id: get_version
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
toolchain: stable

and also the override just below but I can't suggest it somehow

@mockersf
Copy link
Member

You're using an undocumented feature of https://github.com/dtolnay/rust-toolchain: from the doc, it should be targets, not target. I know the action accept the singular for simplicity and compatibility, but I would prefer to use the plural to follow the doc

@alice-i-cecile alice-i-cecile merged commit 07d39e0 into bevyengine:main Mar 24, 2023
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.

Migrate off of actions-rs in build system
4 participants