Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
feat: syn 2.0, merge eip712 crate into ethers-contract-derive (#2279)
Browse files Browse the repository at this point in the history
* chore: bump syn to 2.0, fix breaking changes

* chore: update ethers-contract-derive to use syn 2

* chore: move eip712 into ethers-contract-derive

* fix: temp disable prettyplease formatting

* chore: update prettyplease

* fix mergings

* fix

* ci: disable live-tests since it doesn't do anything

* update

* chore: re-add eip712 feature for backwards compatibility

* chore: bump dependencies
  • Loading branch information
DaniPopes authored Apr 9, 2023
1 parent ddcee20 commit 6e59afe
Show file tree
Hide file tree
Showing 38 changed files with 927 additions and 1,548 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ jobs:
- name: all features
flags: --workspace --all-features
include:
# not workspace because compiling examples fails for no reason in CI,
# not workspace because compiling examples fails for no reason in CI
- os: windows-latest
flags:
name: no default features
flags: -p ethers --no-default-features
flags: --no-default-features
- os: windows-latest
flags:
name: default features
flags: -p ethers
flags: ""
- os: windows-latest
flags:
name: all features
flags: -p ethers --all-features
flags: --all-features
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -85,16 +85,17 @@ jobs:
- name: live tests
run: cargo test -p ethers-etherscan --test it

live-tests:
name: live tests
runs-on: ubuntu-latest
concurrency: live-tests-${{ github.head_ref || github.run_id }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: live tests
run: cargo test -p ethers --all-features
# TODO: Create a new `ethers-tests` crate in the workspace for live tests.
# live-tests:
# name: live tests
# runs-on: ubuntu-latest
# concurrency: live-tests-${{ github.head_ref || github.run_id }}
# steps:
# - uses: actions/checkout@v3
# - uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v2
# - name: live tests
# run: cargo test -p ethers-tests --all-features

# TODO: [#2191](https://github.com/gakonst/ethers-rs/issues/2191)
# feature-checks:
Expand Down
Loading

0 comments on commit 6e59afe

Please sign in to comment.