-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into HEAD
This merges `origin/main` into the tip of the vm rewrite
- Loading branch information
Showing
3,968 changed files
with
319,992 additions
and
98,666 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,29 @@ jobs: | |
outputs: | ||
isDoc: ${{ steps.diff.outputs.isDoc }} | ||
isOldDoc: ${{ steps.diff.outputs.isOldDoc }} | ||
isExamples: ${{ steps.diff.outputs.isExamples }} | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- name: Detect Changes | ||
uses: './.github/actions/diffs' | ||
id: diff | ||
|
||
examples: | ||
name: Notify Slack if examples directory changed | ||
needs: diff | ||
if: needs.diff.outputs.isExamples == 'true' | ||
runs-on: [ubuntu-latest] | ||
|
||
steps: | ||
- name: Notify Slack of Examples Changes | ||
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # [email protected] | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
with: | ||
channel-id: 'tech-docs' | ||
slack-message: | | ||
An open PR modifies files in the `examples/` directory. | ||
Please review it: <https://github.com/${{ github.repository }}/pull/${{ github.event.number }}|PR${{ github.event.number }}> | ||
spelling: | ||
name: Lint documentation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ jobs: | |
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9.1.1 | ||
- run: cargo build --bin sui --features indexer --profile dev | ||
- run: cargo build --bin sui --profile dev | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
@@ -70,8 +70,8 @@ jobs: | |
if: ${{ needs.diff.outputs.isTypescriptSDK == 'true' || needs.diff.outputs.isRust == 'true'}} | ||
run: pnpm dlx concurrently --kill-others --success command-1 "$E2E_RUN_LOCAL_NET_CMD" 'pnpm --filter @mysten/sui test:e2e' | ||
|
||
- name: Run RPC/GrpahQL comaptability e2e tests | ||
if: ${{ needs.diff.outputs.isGraphQlTransport == 'true' || needs.diff.outputs.isRust == 'true'}} | ||
- name: Run RPC/GraphQL compatibility e2e tests | ||
if: ${{ needs.diff.outputs.isGraphQlTransport == 'true' || needs.diff.outputs.isRust == 'true' }} | ||
run: pnpm dlx concurrently --kill-others --success command-1 "$E2E_RUN_LOCAL_NET_CMD" 'pnpm --filter @mysten/graphql-transport test:e2e' | ||
|
||
# - name: Run Local net | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
name: IDE Tests | ||
|
||
on: | ||
push: | ||
branches: main | ||
pull_request: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
workflow_dispatch: | ||
inputs: | ||
sui_repo_ref: | ||
description: "Branch / commit to test" | ||
type: string | ||
required: false | ||
default: '' | ||
|
||
jobs: | ||
diff: | ||
runs-on: [ubuntu-latest] | ||
outputs: | ||
isMoveAutoFormatter: ${{ steps.diff.outputs.isMoveAutoFormatter }} | ||
isMoveAnalyzerTraceAdapter: ${{ steps.diff.outputs.isMoveAnalyzerTraceAdapter }} | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- name: Detect Changes | ||
uses: './.github/actions/diffs' | ||
id: diff | ||
|
||
move-auto-formatter-ci-test: | ||
name: Move Auto-formatter Test | ||
needs: diff | ||
if: needs.diff.outputs.isMoveAutoFormatter == 'true' | ||
runs-on: [ ubuntu-latest ] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
with: | ||
ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | ||
|
||
- name: pnpm setup | ||
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9.1.1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
node-version: '20' | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
working-directory: ./external-crates/move/crates/move-analyzer/prettier-plugin | ||
run: npm install && npm i web-tree-sitter | ||
|
||
- name: Run npm test | ||
working-directory: ./external-crates/move/crates/move-analyzer/prettier-plugin | ||
shell: bash | ||
run: npm run test | ||
|
||
move-analyzer-trace-adapter-ci-test: | ||
name: Trace Adapter Test | ||
needs: diff | ||
if: needs.diff.outputs.isMoveAnalyzerTraceAdapter == 'true' | ||
runs-on: [ ubuntu-latest ] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
with: | ||
ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | ||
|
||
- name: pnpm setup | ||
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9.1.1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
node-version: '20' | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
working-directory: ./external-crates/move/crates/move-analyzer/trace-adapter | ||
shell: bash | ||
run: npm install | ||
|
||
- name: Run npm test | ||
working-directory: ./external-crates/move/crates/move-analyzer/trace-adapter | ||
shell: bash | ||
run: npm run test |
Oops, something went wrong.