Skip to content

Commit

Permalink
Merge branch '4.x' into 6756-web3-core-snapshot-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Altabba committed Feb 7, 2024
2 parents 3aecfa4 + 998954f commit 98181ce
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/cache/save@v3
with:
path: ./
key: web3-${{ matrix.node }}-${{github.event.pull_request.base.sha}}
key: web3-${{ matrix.node }}-${{github.sha}}

build-esm:
name: Build ESM
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: yarn build:esm
build-types:
name: Build Types
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: yarn build:types
lint:
name: Lint
Expand All @@ -68,7 +68,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: npx ts-node scripts/init.ts
- run: yarn lint

Expand All @@ -83,13 +83,13 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- name: Restore default branch stats
if: github.event_name != 'push'
uses: actions/cache/restore@v3
with:
path: packages/web3/dist/4.x.json
key: web3-bundle-stats-4x-${{github.event.pull_request.base.sha}}
key: web3-bundle-stats-4x-${{github.sha}}
- run: yarn build:web:analyze
env:
STATS_FILE: ${{ github.ref_name }}.json
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-${{ matrix.node }}-${{github.event.pull_request.base.sha}}
key: web3-${{ matrix.node }}-${{github.sha}}
- run: yarn test:unit
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand All @@ -144,7 +144,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: npx hardhat node &
- run: yarn test:e2e:hardhat:http
shell: bash
Expand All @@ -167,7 +167,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: yarn test:e2e:geth:${{ matrix.mode }}
shell: bash

Expand All @@ -188,7 +188,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: npx hardhat node &
- run: npm install --no-package-lock --no-save --force cypress
- name: Cypress run
Expand All @@ -214,7 +214,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
- run: yarn install --ignore-scripts
- run: yarn build:cjs
- run: yarn run build:docs
Expand All @@ -237,7 +237,7 @@ jobs:
- uses: actions/cache/restore@v3
with:
path: ./
key: web3-18-${{github.event.pull_request.base.sha}}
key: web3-18-${{github.sha}}
# @octokit/core not supported on node 16, so I can't add it to the package.json
- run: npm install --no-package-lock --no-save --force @octokit/core
- name: Restore main branch benchmark data
Expand Down

1 comment on commit 98181ce

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 98181ce Previous: 6c075db Ratio
processingTx 9159 ops/sec (±4.82%) 9301 ops/sec (±4.81%) 1.02
processingContractDeploy 41117 ops/sec (±7.03%) 39129 ops/sec (±7.62%) 0.95
processingContractMethodSend 18766 ops/sec (±5.52%) 19443 ops/sec (±5.19%) 1.04
processingContractMethodCall 39443 ops/sec (±6.40%) 38971 ops/sec (±6.34%) 0.99
abiEncode 43836 ops/sec (±6.97%) 44252 ops/sec (±6.92%) 1.01
abiDecode 30418 ops/sec (±8.79%) 30419 ops/sec (±8.89%) 1.00
sign 1612 ops/sec (±3.63%) 1656 ops/sec (±4.08%) 1.03
verify 375 ops/sec (±0.63%) 373 ops/sec (±0.78%) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.