Skip to content

Commit

Permalink
update git workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Oct 30, 2024
1 parent fb6e4cf commit 2f8159f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [v1.1.0-taiko]

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: book

on:
push:
branches: [main]
branches: [v1.1.0-taiko]
pull_request:
branches: [main]
branches: [v1.1.0-taiko]
merge_group:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: deny

on:
push:
branches: [main]
branches: [v1.1.0-taiko]
paths: [Cargo.lock]
pull_request:
branches: [main]
branches: [v1.1.0-taiko]
paths: [Cargo.lock]
merge_group:

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [v1.1.0-taiko]

env:
CARGO_TERM_COLOR: always
Expand All @@ -25,7 +25,7 @@ jobs:
RUST_BACKTRACE: 1
strategy:
matrix:
network: ["ethereum", "optimism"]
network: ["ethereum"]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -43,11 +43,6 @@ jobs:
--locked --features "asm-keccak ${{ matrix.network }}" \
--workspace --exclude example-exex-remote --exclude ef-tests \
-E "kind(test)"
- if: matrix.network == 'optimism'
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-optimism --features "optimism"
sync:
name: sync / 100k blocks
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [v1.1.0-taiko]

env:
CARGO_TERM_COLOR: always
Expand All @@ -19,8 +19,6 @@ jobs:
include:
- binary: reth
network: ethereum
- binary: op-reth
network: optimism
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
Expand Down Expand Up @@ -83,8 +81,6 @@ jobs:
include:
- binary: reth
network: ethereum
- binary: op-reth
network: optimism
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [v1.1.0-taiko]

env:
CARGO_TERM_COLOR: always
Expand All @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
partition: [1, 2]
network: ["ethereum", "optimism"]
network: ["ethereum"]
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
network: ["ethereum", "optimism"]
network: ["ethereum"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit 2f8159f

Please sign in to comment.