[ci] misc fixes
LLFourn is squashing these to get them all signed: Remove useless clippy allow ci: use clippy action [ci] remove check for features=default
This commit is contained in:
parent
2fcf9c4adb
commit
352f95f558
31
.github/workflows/cont_integration.yml
vendored
31
.github/workflows/cont_integration.yml
vendored
@ -10,32 +10,25 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
- version: 1.67.0 # STABLE
|
- version: stable
|
||||||
clippy: true
|
clippy: true
|
||||||
- version: 1.57.0 # MSRV
|
- version: 1.57.0 # MSRV
|
||||||
features:
|
features:
|
||||||
- --no-default-features
|
- --no-default-features
|
||||||
- --all-features
|
- --all-features
|
||||||
- --features=default
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Generate cache key
|
|
||||||
run: echo "${{ matrix.rust.version }} ${{ matrix.features }}" | tee .cache_key
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust.version }}
|
toolchain: ${{ matrix.rust.version }}
|
||||||
override: true
|
override: true
|
||||||
components: clippy
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
- name: Rust Cache
|
- name: Rust Cache
|
||||||
uses: Swatinem/rust-cache@v2.2.1
|
uses: Swatinem/rust-cache@v2.2.1
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build ${{ matrix.features }}
|
run: cargo build ${{ matrix.features }}
|
||||||
- name: Clippy
|
|
||||||
if: ${{ matrix.rust.clippy }}
|
|
||||||
run: cargo clippy --all-targets ${{ matrix.features }} -- -D warnings
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test ${{ matrix.features }}
|
run: cargo test ${{ matrix.features }}
|
||||||
|
|
||||||
@ -56,7 +49,7 @@ jobs:
|
|||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: "1.65.0"
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
target: "wasm32-unknown-unknown"
|
target: "wasm32-unknown-unknown"
|
||||||
@ -78,9 +71,27 @@ jobs:
|
|||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: "1.65.0"
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- name: Check fmt
|
- name: Check fmt
|
||||||
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check
|
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check
|
||||||
|
|
||||||
|
clippy_check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
# we pin clippy instead of using "stable" so that our CI doesn't break
|
||||||
|
# at each new cargo release
|
||||||
|
toolchain: "1.67.0"
|
||||||
|
components: clippy
|
||||||
|
override: true
|
||||||
|
- name: Rust Cache
|
||||||
|
uses: Swatinem/rust-cache@v2.2.1
|
||||||
|
- uses: actions-rs/clippy-check@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
args: --all-features --all-targets -- -D warnings
|
||||||
|
@ -1408,7 +1408,6 @@ impl<D> Wallet<D> {
|
|||||||
|
|
||||||
/// Given the options returns the list of utxos that must be used to form the
|
/// Given the options returns the list of utxos that must be used to form the
|
||||||
/// transaction and any further that may be used if needed.
|
/// transaction and any further that may be used if needed.
|
||||||
#[allow(clippy::type_complexity)]
|
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
fn preselect_utxos(
|
fn preselect_utxos(
|
||||||
&self,
|
&self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user