Skip to content

Commit

Permalink
[ci] Use cargo.sh when rolling toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlf committed Feb 29, 2024
1 parent e62d89a commit 39e4fae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/roll-pinned-toolchain-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
# introduced on this new toolchain that we can fix automatically.
# This is best-effort, so we don't let failure cause the whole job
# to fail.
cargo "+$VERSION_FOR_CARGO" fix --allow-dirty --tests --package zerocopy $ZEROCOPY_FEATURES || true
cargo "+$VERSION_FOR_CARGO" fix --allow-dirty --tests --package zerocopy-derive || true
./cargo.sh "+$VERSION_NAME" fix --allow-dirty --tests --package zerocopy $ZEROCOPY_FEATURES || true
./cargo.sh "+$VERSION_NAME" fix --allow-dirty --tests --package zerocopy-derive || true
# Update `.stderr` files as needed for the new version.
TRYBUILD=overwrite cargo "+$VERSION_FOR_CARGO" test --package zerocopy $ZEROCOPY_FEATURES
TRYBUILD=overwrite cargo "+$VERSION_FOR_CARGO" test --package zerocopy-derive
TRYBUILD=overwrite ./cargo.sh "+$VERSION_NAME" test --package zerocopy $ZEROCOPY_FEATURES
TRYBUILD=overwrite ./cargo.sh "+$VERSION_NAME" test --package zerocopy-derive
}
if [ "${{ matrix.toolchain }}" == stable ]; then
Expand Down

0 comments on commit 39e4fae

Please sign in to comment.