fix: failing ci

This commit is contained in:
DaniPopes 2023-02-25 13:37:06 +01:00
parent c3748e95ea
commit 58ce0e13e2
No known key found for this signature in database
GPG Key ID: 0F09640DDB7AC692
1 changed files with 17 additions and 17 deletions

View File

@ -94,17 +94,18 @@ jobs:
export ETHERSCAN_API_KEY="$ETHERSCAN_API_KEY_CELO" export ETHERSCAN_API_KEY="$ETHERSCAN_API_KEY_CELO"
cargo +${{ matrix.toolchain }} test --workspace --target ${{ matrix.job.target }} --all-features cargo +${{ matrix.toolchain }} test --workspace --target ${{ matrix.job.target }} --all-features
feature-checks: # TODO: [#2191](https://github.com/gakonst/ethers-rs/issues/2191)
name: feature checks # feature-checks:
runs-on: ubuntu-latest # name: feature checks
steps: # runs-on: ubuntu-latest
- uses: actions/checkout@v3 # steps:
- uses: dtolnay/rust-toolchain@nightly # - uses: actions/checkout@v3
- uses: taiki-e/install-action@cargo-hack # - uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2 # - uses: taiki-e/install-action@cargo-hack
- name: cargo hack # - uses: Swatinem/rust-cache@v2
run: # - name: cargo hack
cargo hack check --all --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going # run:
# cargo hack check --all --feature-powerset --depth 2 -Z avoid-dev-deps --keep-going
clippy: clippy:
name: clippy name: clippy
@ -123,14 +124,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@nightly
with: with:
# TODO: Remove nightly override: rust-lang/rust#{108334,108378}
toolchain: nightly-2023-02-07
components: rust-docs components: rust-docs
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: doc - name: doc
run: cargo doc --lib --workspace --all-features run: cargo doc --workspace --all-features --no-deps --document-private-items
fmt: fmt:
name: fmt name: fmt
@ -159,8 +158,9 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: Check - name: Check
run: cargo check --target wasm32-unknown-unknown run: cargo check --target wasm32-unknown-unknown
- name: Check all features # TODO: [#2191](https://github.com/gakonst/ethers-rs/issues/2191)
run: cargo check --target wasm32-unknown-unknown --all-features # - name: Check all features
# run: cargo check --target wasm32-unknown-unknown --all-features
- name: Install wasm-pack - name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh