Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 4, 2025
2 parents 397541e + 89e7ce4 commit c06d506
Show file tree
Hide file tree
Showing 278 changed files with 63,820 additions and 38,596 deletions.
7 changes: 4 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* @alainncls @satyajeetkolhapure @orbmis @arthur-remy
/explorer/ @alainncls @satyajeetkolhapure @orbmis @arthur-remy @ars9 @Solniechniy
/governance/ @alainncls @satyajeetkolhapure @orbmis @arthur-remy @DAOstrat
pnpm-workspace.yaml @alainncls @satyajeetkolhapure @orbmis @arthur-remy @DAOstrat @ars9 @Solniechniy
/contracts/ @alainncls @satyajeetkolhapure @orbmis @arthur-remy @Consensys/linea-contract-team
/explorer/ @alainncls @satyajeetkolhapure @orbmis @arthur-remy
/governance/ @alainncls @satyajeetkolhapure @orbmis @arthur-remy
pnpm-workspace.yaml @alainncls @satyajeetkolhapure @orbmis @arthur-remy
2 changes: 1 addition & 1 deletion .github/workflows/explorer-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/explorer-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: steps.check-changes.outputs.changed == 'true'
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/explorer-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down
87 changes: 81 additions & 6 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- release/*

jobs:
test-sdk:
unit-test-sdk:
runs-on: ubuntu-latest

defaults:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand All @@ -53,12 +53,87 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Run the unit tests
run: pnpm run test:unit:ci
run: pnpm run test:unit:coverage

- name: Move the report at the root of the 'sdk' folder
run: mv coverage/lcov.info .

- name: Upload coverage report to Codecov
if: env.CODECOV_TOKEN != ''
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
uses: codecov/codecov-action@v3
with:
files: ./sdk/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

- name: Check test coverage
uses: terencetcf/github-actions-lcov-minimum-coverage-checker@v1
with:
coverage-file: sdk/lcov.info
minimum-coverage: 50

- name: Add coverage summary if upload
if: env.CODECOV_TOKEN != ''
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
run: |
echo "## Coverage result" >> $GITHUB_STEP_SUMMARY
echo "✅ Uploaded to Codecov" >> $GITHUB_STEP_SUMMARY
- name: Add coverage summary if no upload
if: env.CODECOV_TOKEN == ''
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
run: |
echo "## Coverage result" >> $GITHUB_STEP_SUMMARY
echo "✅ Coverage not uploaded to Codecov" >> $GITHUB_STEP_SUMMARY
integration-test-sdk:
runs-on: ubuntu-latest

defaults:
run:
working-directory: sdk

steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 9
run_install: false

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run the integration tests
run: pnpm run test:integration:ci

- name: Add test summary
- name: Integration tests summary
run: |
echo "## Tests result" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
echo "## Integration tests result" >> $GITHUB_STEP_SUMMARY
echo "✅ All passed" >> $GITHUB_STEP_SUMMARY
20 changes: 5 additions & 15 deletions .github/workflows/smart-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
if: steps.check-changes.outputs.changed == 'true'
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
if: steps.check-changes.outputs.changed == 'true'
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
if: steps.check-changes.outputs.changed == 'true'
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down Expand Up @@ -362,16 +362,6 @@ jobs:
if: steps.check-changes.outputs.changed == 'true'
run: pnpm run check:upgradeability arbitrum

- name: Create Arbitrum Nova env file
if: steps.check-changes.outputs.changed == 'true'
run: |
rm .env
cp ./env/.env.arbitrum-nova .env
- name: Check contracts upgradeability on Arbitrum Nova
if: steps.check-changes.outputs.changed == 'true'
run: pnpm run check:upgradeability arbitrum-nova

- name: Create Base Sepolia env file
if: steps.check-changes.outputs.changed == 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
test-subgraph:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

defaults:
run:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Install Node.js
Expand Down
Loading

0 comments on commit c06d506

Please sign in to comment.