Skip to content

Commit

Permalink
Merge pull request #4 from ElrondNetwork/clippy-args
Browse files Browse the repository at this point in the history
Add clippy default args
  • Loading branch information
claudiu725 authored Nov 25, 2022
2 parents 8321ef6 + fb6147c commit 9cd6f24
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 9cd6f24

Please sign in to comment.