Skip to content

Commit

Permalink
add clippy default args
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu725 committed Nov 25, 2022
1 parent 8321ef6 commit fb6147c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
default: ''
required: false
type: string
clippy-args:
description: 'cargo clippy arguments'
default: '--all-targets --all-features'
required: false
type: string
secrets:
token:
description: 'Github token'
Expand Down Expand Up @@ -154,3 +159,4 @@ jobs:
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.token }}
args: ${{ inputs.clippy-args }}

0 comments on commit fb6147c

Please sign in to comment.