Skip to content

Commit

Permalink
merge s2 badges pr
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 committed Sep 27, 2024
2 parents e644152 + 161dbc0 commit 1855abd
Show file tree
Hide file tree
Showing 136 changed files with 8,831 additions and 2,216 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/cancel-workflow-action@0.12.1
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
12 changes: 9 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 All @@ -44,6 +44,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
- uses: actions/setup-go@v5
with:
Expand All @@ -63,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/cancel-workflow-action@0.12.1
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
40 changes: 35 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,9 @@ jobs:
with:
access_token: ${{ github.token }}

- name: Prepare environment
run: sudo apt-get update && sudo apt-get install -y git nc

- name: Checkout repository
uses: actions/checkout@v4
with:
Expand All @@ -38,10 +41,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 +59,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/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

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

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.2.0

- 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
12 changes: 9 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,14 +36,17 @@ 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
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

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

- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
Expand All @@ -63,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
2 changes: 1 addition & 1 deletion .github/workflows/repo--auto-approve-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
auto-approve:
if: github.event.pull_request.draft == false && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
runs-on: [arc-runner-set]
permissions:
pull-requests: write
steps:
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/repo--close-inactive-issues.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/repo--do-not-merge-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
check_label:
runs-on: ubuntu-latest
runs-on: [arc-runner-set]
steps:
- name: Check for "option.do-not-merge" label
id: check_label
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/repo--merge-gatekeeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ on:
jobs:
merge-gatekeeper:
if: github.event_name == 'pull_request'
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
permissions:
checks: read
statuses: read
steps:
- name: Run Merge Gatekeeper
uses: upsidr/merge-gatekeeper@v1
with:
timeout: 1200
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/repo--release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
release-please:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- uses: googleapis/release-please-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo--stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
stale:
runs-on: ubuntu-latest
runs-on: [arc-runner-set]
steps:
- uses: actions/stale@v9
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/repo--typo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on: [pull_request]

jobs:
check-for-typos:
runs-on: ubuntu-latest
runs-on: [arc-runner-set]

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

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

- name: Check for typos
uses: crate-ci/typos@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo--validate-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
validate-pr-title:
if: github.event_name == 'pull_request_target'
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/repo--vercel-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ env:
jobs:
build-deploy:
if: github.actor != 'dependabot'
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Print Vercel Project ID
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/cancel-workflow-action@0.12.1
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/cancel-workflow-action@0.12.1
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
Loading

0 comments on commit 1855abd

Please sign in to comment.