Skip to content

Commit

Permalink
Merge branch 'main' into feature/get-transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Sep 20, 2024
2 parents 453d730 + 896f889 commit 5b802d3
Show file tree
Hide file tree
Showing 46 changed files with 670 additions and 506 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/bridge-ui--ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on: workflow_call

jobs:
build:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docs-site--preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ on:

jobs:
deploy-docs-site-preview:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docs-site--production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ on:

jobs:
deploy-docs-site-production:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/eventindexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
lint-eventindexer:
name: lint-eventindexer
if: github.event_name == 'pull_request'
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- uses: actions/setup-go@v5
with:
Expand All @@ -35,7 +35,7 @@ jobs:
args: --config=.golangci.yml --timeout=4m

test-eventindexer:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }}
needs: lint-eventindexer
steps:
Expand Down Expand Up @@ -66,9 +66,12 @@ jobs:
# Skip dependabot PRs
if: ${{ github.event_name == 'pull_request' && ! startsWith(github.ref, 'refs/heads/dependabot/') }}
name: Build and push docker image
runs-on: [taiko-runner]
runs-on: [arc-runner-set]

steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/fork-diff--preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ on:

jobs:
deploy-fork-diff-preview:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/fork-diff--production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ on:

jobs:
deploy-fork-diff-production:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nfts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ on:
jobs:
build-nfts-contracts:
if: github.event.pull_request.draft == false
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
41 changes: 36 additions & 5 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build-protocol:
if: github.event.pull_request.draft == false
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
permissions:
# Give the necessary permissions for stefanzweifel/git-auto-commit-action.
contents: write
Expand All @@ -19,6 +19,10 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Prepare environment
continue-on-error: true
run: sudo apt-get update && sudo apt-get install -y git netcat

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand All @@ -38,10 +42,6 @@ jobs:
working-directory: ./packages/protocol
run: pnpm compile:l2 && pnpm test:l2 && pnpm layout:l2

- name: L2-Generate genesis
working-directory: ./packages/protocol
run: pnpm genesis:test

- name: L1-Unit tests
working-directory: ./packages/protocol
run: pnpm compile:l1 && pnpm test:l1 && pnpm layout:l1
Expand All @@ -60,3 +60,34 @@ jobs:
sleep 1
done
pnpm test:deploy:l1
genesis-docker:
if: github.event.pull_request.draft == false
runs-on: [taiko-runner]
permissions:
# Give the necessary permissions for stefanzweifel/git-auto-commit-action.
contents: write
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/[email protected]

- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies

- name: Compile
working-directory: ./packages/protocol
run: pnpm clean && pnpm compile

- name: L2-Generate Genesis (using docker)
working-directory: ./packages/protocol
run: pnpm genesis:test
9 changes: 6 additions & 3 deletions .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
lint-relayer:
name: lint-relayer
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }}
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- uses: actions/setup-go@v5
with:
Expand All @@ -36,7 +36,7 @@ jobs:

test-relayer:
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }}
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
needs: lint-relayer
steps:
- name: Cancel Previous Runs
Expand Down Expand Up @@ -66,9 +66,12 @@ jobs:
# Skip dependabot PRs
if: ${{ github.event_name == 'pull_request' && ! startsWith(github.ref, 'refs/heads/dependabot/') }}
name: Build and push docker image
runs-on: [taiko-runner]
runs-on: [arc-runner-set]

steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/repo--vercel-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
run: |
echo "Vercel Project ID: ${{ env.VERCEL_PROJECT_ID }}"
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/snaefell-ui--ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on: workflow_call

jobs:
build:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/supplementary-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ on:
jobs:
build-supplementary-contracts:
if: github.event.pull_request.draft == false
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/taiko-client--docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ on:
jobs:
push-docker-image:
name: Build and push docker image
runs-on: [ubuntu-latest]
runs-on: [arc-runner-set]

steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/taiko-client--hive_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
hive_tests:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'option.hive-test')
name: hive tests
runs-on: [ubuntu-latest]
runs-on: [arc-runner-set]
timeout-minutes: 20

steps:
Expand All @@ -21,6 +21,9 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- uses: actions/checkout@v4

- name: Set up Go
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/taiko-client--test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ jobs:
lint:
if: github.event.pull_request.draft == false
name: Lint
runs-on: [ubuntu-latest]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git make

- uses: actions/checkout@v4

- name: Set up Go
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/taikoon-ui--ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on: workflow_call

jobs:
build:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ui-lib--ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on: workflow_call

jobs:
build:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages/bridge-ui": "2.12.0",
"packages/docs-site": "1.11.9",
"packages/docs-site": "1.12.0",
"packages/eventindexer": "0.13.0",
"packages/fork-diff": "0.6.0",
"packages/guardian-prover-health-check": "0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This section describes our coding standards at Taiko.

**It is important you use the correct commit type**. For minor semver bumps, use `feat`, for patches use `fix`. For a major bump use `feat(scope)!` or `fix(scope)!`. If you use `chore`, `docs`, or `ci`, then it won't result in a release-please PR or version bump.

Specify the scope of your change with a [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) in the PR title (for example, `feat(scope): description of feature`). This will be squashed and merged into the `main` branch. You can find the full list of allowed scopes [here](https://github.com/taikoxyz/taiko-mono/blob/main/.github/workflows/validate-pr-title.yml).
Specify the scope of your change with a [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) in the PR title (for example, `feat(scope): description of feature`). This will be squashed and merged into the `main` branch. You can find the full list of allowed scopes [here](https://github.com/taikoxyz/taiko-mono/blob/main/.github/workflows/repo--validate-pr-title.yml).

Because we squash all of the changes into a single commit, please try to keep the PR limited to the scope specified in the commit message. This commit message will end up in the automated changelog by checking which packages are affected by the commit.

Expand Down
Loading

0 comments on commit 5b802d3

Please sign in to comment.