Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-atreya committed Jun 27, 2024
2 parents 0b0b835 + 60cd429 commit 478ac23
Show file tree
Hide file tree
Showing 256 changed files with 13,704 additions and 2,533 deletions.
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/BUG-FORM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ body:
description: What component is the bug in?
multiple: true
options:
- meta-crate
- contract
- consensus, eips, genesis
- network, json-rpc
- nodes
- node-bindings
- provider, pubsub
- rpc
- serde
- signers
- transports
- other
validations:
required: true
- type: input
Expand Down
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/FEATURE-FORM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ body:
description: What component is the feature for?
multiple: true
options:
- meta-crate
- contract
- consensus, eips, genesis
- network, json-rpc
- nodes
- node-bindings
- provider, pubsub
- rpc
- serde
- signers
- transports
- other
validations:
required: true
- type: textarea
Expand Down
54 changes: 19 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,21 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
rust: [
"stable",
"nightly",
"1.76" # MSRV
]
flags: [
rust:
- "stable"
- "nightly"
- "1.76" # MSRV
flags:
# No features
"--no-default-features",
- "--no-default-features"
# Default features
"",
]
include:
# All features
- os: "ubuntu-latest"
rust: "stable"
flags: "--all-features"
- os: "ubuntu-latest"
rust: "nightly"
- ""
exclude:
# All features on MSRV
- rust: "1.76" # MSRV
flags: "--all-features"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
Expand Down Expand Up @@ -83,7 +77,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown
Expand All @@ -95,23 +89,22 @@ jobs:
run: |
cargo hack build --workspace --target wasm32-unknown-unknown \
--exclude alloy-contract \
--exclude alloy-internal-test-utils \
--exclude alloy-network \
--exclude alloy-node-bindings \
--exclude alloy-provider \
--exclude alloy-signer \
--exclude alloy-signer-aws \
--exclude alloy-signer-gcp \
--exclude alloy-signer-ledger \
--exclude alloy-signer-local \
--exclude alloy-signer-trezor \
--exclude alloy-signer-wallet \
--exclude alloy-transport-ipc
wasm-wasi:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
Expand All @@ -134,7 +127,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: riscv32imac-unknown-none-elf
Expand All @@ -149,7 +142,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -178,7 +171,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -187,21 +180,12 @@ jobs:
run: cargo doc --workspace --all-features --no-deps --document-private-items
env:
RUSTDOCFLAGS: --cfg docsrs -D warnings --show-type-layout --generate-link-to-definition -Zunstable-options
- name: Doc index page redirection
run: echo '<meta http-equiv="refresh" content="1; url=alloy/index.html">' > target/doc/index.html
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/doc
force_orphan: true

fmt:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
Expand All @@ -211,7 +195,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: cargo deny check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check all
Loading

0 comments on commit 478ac23

Please sign in to comment.