[gql] Widen grpc mask to prefetch additional Transaction content
#30940
This file contains hidden or 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
| 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2 | |
| - 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2 | |
| with: | |
| ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | |
| - name: pnpm setup | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # pin@v4.2.0 | |
| - name: Verify PNPM Cache Directory | |
| run: | | |
| PNPM_STORE_PATH="$( pnpm store path --silent )" | |
| if [ ! -d "$PNPM_STORE_PATH" ]; then | |
| echo "PNPM store directory does not exist, creating it." | |
| mkdir -p "$PNPM_STORE_PATH" | |
| else | |
| echo "PNPM store directory exists." | |
| fi | |
| - name: Setup Node | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # pin@v6.2.0 | |
| 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2 | |
| with: | |
| ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | |
| - name: pnpm setup | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # pin@v4.2.0 | |
| - name: Verify PNPM Cache Directory | |
| run: | | |
| PNPM_STORE_PATH="$( pnpm store path --silent )" | |
| if [ ! -d "$PNPM_STORE_PATH" ]; then | |
| echo "PNPM store directory does not exist, creating it." | |
| mkdir -p "$PNPM_STORE_PATH" | |
| else | |
| echo "PNPM store directory exists." | |
| fi | |
| - name: Setup Node | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # pin@v6.2.0 | |
| 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 |