Skip to content

Commit 7443b5c

Browse files
authored
fix: gh-pages CI failing due to forc-migrate (#6854)
## Description The github-pages CI action has been [failing](https://github.com/FuelLabs/sway/actions/runs/12867769693/job/35873104739) since the forc-migrate PR was merged, because the plugin needs to be installed in that workflow. It was also missing from forc-binaries which is needed for us to be able to distribute the binary. ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers.
1 parent a113ac3 commit 7443b5c

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -977,13 +977,13 @@ jobs:
977977
- name: Strip release binaries x86_64-linux-gnu
978978
if: matrix.job.target == 'x86_64-unknown-linux-gnu'
979979
run: |
980-
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit; do
980+
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit forc-migrate; do
981981
strip "target/${{ matrix.job.target }}/release/$BINARY"
982982
done
983983
- name: Strip release binaries aarch64-linux-gnu
984984
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
985985
run: |
986-
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit; do
986+
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit forc-migrate; do
987987
docker run --rm -v \
988988
"$PWD/target:/target:Z" \
989989
ghcr.io/cross-rs/${{ matrix.job.target }}:main \
@@ -993,7 +993,7 @@ jobs:
993993
- name: Strip release binaries mac
994994
if: matrix.job.os == 'macos-latest'
995995
run: |
996-
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit; do
996+
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit forc-migrate; do
997997
strip -x "target/${{ matrix.job.target }}/release/$BINARY"
998998
done
999999
@@ -1007,7 +1007,7 @@ jobs:
10071007
ZIP_FILE_NAME=forc-binaries-${{ env.PLATFORM_NAME }}_${{ env.ARCH }}.tar.gz
10081008
echo "ZIP_FILE_NAME=$ZIP_FILE_NAME" >> $GITHUB_ENV
10091009
mkdir -pv ./forc-binaries
1010-
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit; do
1010+
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-crypto forc-tx forc-submit forc-migrate; do
10111011
cp "target/${{ matrix.job.target }}/release/$BINARY" ./forc-binaries
10121012
done
10131013
tar -czvf $ZIP_FILE_NAME ./forc-binaries

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
cargo install --locked --debug --path ./forc-plugins/forc-debug
3232
cargo install --locked --debug --path ./forc-plugins/forc-doc
3333
cargo install --locked --debug --path ./forc-plugins/forc-crypto
34+
cargo install --locked --debug --path ./forc-plugins/forc-migrate
3435
cargo install --locked --debug forc-explore
3536
- name: Install mdbook-forc-documenter
3637
uses: actions-rs/cargo@v1

.github/workflows/scripts/verify_tag.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ for toml_path in \
5656
"workspace.dependencies.forc-fmt.version" \
5757
"workspace.dependencies.forc-lsp.version" \
5858
"workspace.dependencies.forc-tx.version" \
59+
"workspace.dependencies.forc-migrate.version" \
5960
"workspace.dependencies.sway-ast.version" \
6061
"workspace.dependencies.sway-core.version" \
6162
"workspace.dependencies.sway-error.version" \

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ forc-doc = { path = "forc-plugins/forc-doc/", version = "0.66.6" }
5858
forc-fmt = { path = "forc-plugins/forc-fmt/", version = "0.66.6" }
5959
forc-lsp = { path = "forc-plugins/forc-lsp/", version = "0.66.6" }
6060
forc-tx = { path = "forc-plugins/forc-tx/", version = "0.66.6" }
61+
forc-migrate = { path = "forc-plugins/forc-migrate/", version = "0.66.6" }
6162

6263
sway-ast = { path = "sway-ast/", version = "0.66.6" }
6364
sway-core = { path = "sway-core/", version = "0.66.6" }

0 commit comments

Comments
 (0)