Skip to content

Commit b7e25ba

Browse files
authored
Merge pull request #7 from dymensionxyz/danwt/merge-main
chore: merge main
2 parents 1915073 + 1f14d47 commit b7e25ba

File tree

580 files changed

+38924
-5669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

580 files changed

+38924
-5669
lines changed

.changeset/chilly-lizards-watch.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/curly-bobcats-doubt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/modern-owls-beam.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nasty-bugs-cross.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/six-berries-ask.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@hyperlane-xyz/sdk': minor
3+
---
4+
5+
Support using MultiSend when proposing txs via the EV5GnosisSafeTxSubmitter.

.changeset/soft-foxes-sit.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/wise-files-listen.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/yummy-toes-pick.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/monorepo-docker.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ on:
1313
- 'docker-entrypoint.sh'
1414
- '.dockerignore'
1515
- '.github/workflows/monorepo-docker.yml'
16+
workflow_dispatch:
17+
inputs:
18+
include_arm64:
19+
description: 'Include arm64 in the build'
20+
required: false
21+
default: 'false'
1622

1723
concurrency:
1824
group: build-push-monorepo-${{ github.ref }}
@@ -81,6 +87,15 @@ jobs:
8187
REGISTRY_VERSION=$(cat .registryrc)
8288
echo "REGISTRY_VERSION=$REGISTRY_VERSION" >> $GITHUB_ENV
8389
90+
- name: Determine platforms
91+
id: determine-platforms
92+
run: |
93+
if [ "${{ github.event.inputs.include_arm64 }}" == "true" ]; then
94+
echo "platforms=linux/amd64,linux/arm64" >> $GITHUB_OUTPUT
95+
else
96+
echo "platforms=linux/amd64" >> $GITHUB_OUTPUT
97+
fi
98+
8499
- name: Build and push
85100
uses: depot/build-push-action@v1
86101
with:
@@ -92,4 +107,4 @@ jobs:
92107
labels: ${{ steps.meta.outputs.labels }}
93108
build-args: |
94109
REGISTRY_COMMIT=${{ env.REGISTRY_VERSION }}
95-
platforms: linux/amd64,linux/arm64
110+
platforms: ${{ steps.determine-platforms.outputs.platforms }}

.github/workflows/release.yml

Lines changed: 44 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,22 @@ on:
99

1010
concurrency: ${{ github.workflow }}-${{ github.ref }}
1111

12+
env:
13+
LOG_FORMAT: PRETTY
14+
TURBO_TELEMETRY_DISABLED: 1
15+
TURBO_API: https://cache.depot.dev
16+
TURBO_TOKEN: ${{ secrets.DEPOT_TURBO_TOKEN }}
17+
TURBO_TEAM: ${{ secrets.DEPOT_ORG_ID }}
18+
1219
jobs:
1320
# This job prepares the release by creating or updating a release PR.
1421
# Notice the omission of the `publish` flag in the changesets action.
1522
prepare-release:
16-
outputs:
17-
hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}
1823
permissions:
1924
id-token: write
2025
contents: write
2126
pull-requests: write
22-
runs-on: ubuntu-latest
27+
runs-on: depot-ubuntu-latest
2328
steps:
2429
- name: Checkout Repo
2530
uses: actions/checkout@v4
@@ -46,15 +51,45 @@ jobs:
4651
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4752
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4853

49-
# The release PR removes individual changesets to prepare for a release.
50-
# This means that once the release PR is merged, there are no changesets left.
51-
# When there are no changesets left, we can run the cli-install-cross-platform-release-test
52-
# workflow to verify that the CLI installs correctly on all platforms.
54+
check-latest-published:
55+
runs-on: ubuntu-latest
56+
outputs:
57+
all_latest: ${{ steps.check.outputs.all_latest }}
58+
steps:
59+
- uses: actions/checkout@v4
60+
61+
- name: Retrieve package versions
62+
id: pkg
63+
run: |
64+
find . -name 'package.json' -print0 | while IFS= read -r -d '' pkg; do
65+
jq -r 'select(.private != true) | .name + "@" + .version' "$pkg"
66+
done | tee versions.txt
67+
68+
- name: Compare package versions
69+
id: check
70+
run: |
71+
all_latest=true
72+
while read -r pkg; do
73+
echo "Checking if $pkg is published..."
74+
exists=$(npm view "$pkg" version 2>/dev/null || echo "N/A")
75+
echo "npm returned: $exists"
76+
if [ "$exists" = "N/A" ]; then
77+
echo "$pkg is NOT published."
78+
all_latest=false
79+
break
80+
else
81+
echo "$pkg is published."
82+
fi
83+
done < versions.txt
84+
echo "all_latest=$all_latest" >> $GITHUB_OUTPUT
85+
86+
# If we detect that not all packages are published, we run the
87+
# cli-install-cross-platform-release-test workflow to verify that the CLI installs correctly on all platforms.
5388
# In all other cases, we already have a barebones `cli-install` test on the default CI platform
5489
# which will catch most issues before any offending PR is merged.
5590
cli-install-cross-platform-release-test:
56-
needs: prepare-release
57-
if: needs.prepare-release.outputs.hasChangesets == 'false'
91+
needs: [check-latest-published]
92+
if: needs.check-latest-published.outputs.all_latest == 'false'
5893
strategy:
5994
matrix:
6095
os: [depot-ubuntu-latest, depot-macos-latest, depot-windows-2022]

0 commit comments

Comments
 (0)