Skip to content

Commit

Permalink
Merge pull request #8 from WalletConnect/fix/disable-udeps
Browse files Browse the repository at this point in the history
fix: flag to disable udeps
  • Loading branch information
chris13524 authored May 7, 2024
2 parents 8641724 + 7e2c6e7 commit 2aa792d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-check-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ on:
description: 'The Rust version to use to run udeps'
type: string
default: 'nightly'
check-udeps:
description: Enable checking for unusued dependencies
type: boolean
default: true
rust-backtrace:
description: 'The Rust backtrace settings'
type: string
Expand Down Expand Up @@ -186,6 +190,7 @@ jobs:
unused-dependencies:
name: Unused Dependencies
runs-on: ${{ inputs.run-label }}
if: ${{ inputs.check-udeps }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ on:
description: 'The Rust version to use to run udeps'
type: string
default: 'nightly'
check-udeps:
description: Enable checking for unusued dependencies
type: boolean
default: true
rust-backtrace:
description: 'The Rust backtrace settings'
type: string
Expand Down Expand Up @@ -113,6 +117,7 @@ jobs:
rust-toolchain: ${{ inputs.rust-toolchain }}
rust-toolchain-formatting: ${{ inputs.rust-toolchain-formatting }}
rust-toolchain-udeps: ${{ inputs.rust-toolchain-udeps }}
check-udeps: ${{ inputs.check-udeps }}
rust-backtrace: ${{ inputs.rust-backtrace }}
install-protoc: ${{ inputs.rust-install-protoc }}
use-sccache: ${{ inputs.rust-use-sccache }}
Expand Down

0 comments on commit 2aa792d

Please sign in to comment.