Skip to content

Commit

Permalink
add trie and build
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed May 22, 2023
1 parent 6b0b207 commit 91282fe
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@ jobs:

call-ethash:
needs: build
uses: ./.github/workflows/ethash-build.yml
uses: ./.github/workflows/ethash-build.yml

call-rlp:
needs: build
uses: ./.github/workflows/rlp-build.yml

call-trie:
needs: build
uses: ./.github/workflows/trie-build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: RLP
on:
push:
branches: [master, develop]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_call:
workflow_dispatch:

env:
Expand All @@ -15,7 +11,7 @@ defaults:
working-directory: packages/rlp

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-rlp
cancel-in-progress: true

jobs:
Expand All @@ -33,8 +29,11 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci
working-directory: ${{github.workspace}}
- uses: actions/cache/restore@v3
with:
path: ${{github.workspace}}
key: ${{hashFiles('packages/**/src')}}


- run: npm run lint
- run: npm run coverage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Trie
on:
push:
branches: [master, develop]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_call:
workflow_dispatch:

env:
Expand All @@ -15,7 +11,7 @@ defaults:
working-directory: packages/trie

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-trie
cancel-in-progress: true

jobs:
Expand All @@ -33,8 +29,10 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci
working-directory: ${{github.workspace}}
- uses: actions/cache/restore@v3
with:
path: ${{github.workspace}}
key: ${{hashFiles('packages/**/src')}}

- run: npm run lint
- run: npm run coverage
Expand Down

0 comments on commit 91282fe

Please sign in to comment.