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

Switch to rust-toolchain@master in "Update GitHub Pages" #2613

Merged
merged 5 commits into from
Apr 21, 2023

Conversation

ysaito1001
Copy link
Contributor

Motivation and Context

The previous attempt #2610 did not work for properly running the workflow for Update GitHub Pages. This PR reverts it and uses a different fix to address the issue.

Description

Possibly with this and dtolnaly/rust-toolchain having fixed a couple of issues related to the sparse registry recently, this PR will use dtolnaly/rust-toolchain@master rather than stable (most CIs in this repository have been using master).

Testing

The workflow in question has been verified to run successfully with this change (link).


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit updates the workflow to switch from stable to master for
`dtolnay/rust-toolchain`. This fixes a workflow failure, saying
"usage of sparse registries requires `-Z sparse-registry`."
@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

.github/workflows/github-pages.yml Outdated Show resolved Hide resolved
@ysaito1001 ysaito1001 enabled auto-merge April 21, 2023 17:03
@ysaito1001 ysaito1001 added this pull request to the merge queue Apr 21, 2023
@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Merged via the queue into main with commit 982319f Apr 21, 2023
@ysaito1001 ysaito1001 deleted the ysaito/use-rust-toolchain-at-master branch April 21, 2023 18:10
unexge pushed a commit that referenced this pull request Apr 24, 2023
## Motivation and Context
The previous attempt #2610 did
not work for properly running the workflow for `Update GitHub Pages`.
This PR reverts it and uses a different fix to address the issue.

## Description
Possibly with
[this](https://users.rust-lang.org/t/sparse-registry-breaking-my-ci-and-i-dont-understand-why/89976)
and `dtolnaly/rust-toolchain` having fixed a couple of issues [related
to the sparse
registry](https://github.com/dtolnay/rust-toolchain/issues?q=is%3Aissue+is%3Aclosed+sparse)
recently, this PR will use `dtolnaly/rust-toolchain@master` rather than
`stable` (most CIs in this repository have been using `master`).

## Testing
The workflow in question has been verified to run successfully with this
change
([link](https://github.com/awslabs/smithy-rs/actions/runs/4758820036)).

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

---------

Co-authored-by: Yuki Saito <[email protected]>
Co-authored-by: John DiSanti <[email protected]>
rcoh pushed a commit that referenced this pull request Apr 24, 2023
## Motivation and Context
The previous attempt #2610 did
not work for properly running the workflow for `Update GitHub Pages`.
This PR reverts it and uses a different fix to address the issue.

## Description
Possibly with
[this](https://users.rust-lang.org/t/sparse-registry-breaking-my-ci-and-i-dont-understand-why/89976)
and `dtolnaly/rust-toolchain` having fixed a couple of issues [related
to the sparse
registry](https://github.com/dtolnay/rust-toolchain/issues?q=is%3Aissue+is%3Aclosed+sparse)
recently, this PR will use `dtolnaly/rust-toolchain@master` rather than
`stable` (most CIs in this repository have been using `master`).

## Testing
The workflow in question has been verified to run successfully with this
change
([link](https://github.com/awslabs/smithy-rs/actions/runs/4758820036)).

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

---------

Co-authored-by: Yuki Saito <[email protected]>
Co-authored-by: John DiSanti <[email protected]>
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.

3 participants