Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feat/support_t8n_an…
Browse files Browse the repository at this point in the history
…d_taikop
  • Loading branch information
petarvujovic98 committed Jun 18, 2024
2 parents 41823f0 + 8a95911 commit 04b81f4
Show file tree
Hide file tree
Showing 441 changed files with 6,556 additions and 5,020 deletions.
25 changes: 25 additions & 0 deletions .github/scripts/check_no_std.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -eo pipefail

# List of no_std packages
no_std_packages=(
reth-db
reth-network-peers
)

# Loop through each package and check it for no_std compliance
for package in "${no_std_packages[@]}"; do
cmd="cargo +stable check -p $package --no-default-features"

if [ -n "$CI" ]; then
echo "::group::$cmd"
else
printf "\n%s:\n %s\n" "$package" "$cmd"
fi

$cmd

if [ -n "$CI" ]; then
echo "::endgroup::"
fi
done
2 changes: 1 addition & 1 deletion .github/workflows/assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
cat etc/assertoor/assertoor-template.yaml | envsubst > etc/assertoor/assertoor.yaml
kurtosis run github.com/kurtosis-tech/ethereum-package --enclave assertoor-${{ github.run_id }} --args-file etc/assertoor/assertoor.yaml
kurtosis run github.com/ethpandaops/ethereum-package --enclave assertoor-${{ github.run_id }} --args-file etc/assertoor/assertoor.yaml
enclave_dump=$(kurtosis enclave inspect assertoor-${{ github.run_id }})
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export reth image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
tags: ghcr.io/paradigmxyz/reth:latest
Expand Down
29 changes: 26 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ jobs:
env:
RUSTFLAGS: -D warnings

no-std:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: riscv32imac-unknown-none-elf
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run no_std checks
run: .github/scripts/check_no_std.sh

crate-checks:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down Expand Up @@ -72,7 +87,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.76" # MSRV
toolchain: "1.79" # MSRV
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down Expand Up @@ -115,7 +130,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.76" # MSRV
toolchain: "1.79" # MSRV
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down Expand Up @@ -149,7 +164,15 @@ jobs:
name: lint success
runs-on: ubuntu-latest
if: always()
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, book, codespell, grafana]
needs:
- clippy-binaries
- clippy
- crate-checks
- docs
- fmt
- book
- codespell
- grafana
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
Loading

0 comments on commit 04b81f4

Please sign in to comment.