Skip to content

Commit 40e9c57

Browse files
authored
Merge pull request #604 from artichoke/clippy-all-targets
Update devtools Rakefile and CI clippy invocation
2 parents e94503a + b0838e7 commit 40e9c57

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
uses: actions-rs/clippy-check@v1
7070
with:
7171
token: ${{ secrets.GITHUB_TOKEN }}
72-
args: --workspace --all-features
72+
args: --workspace --all-features --all-targets
7373

7474
ruby:
7575
name: Lint and format Ruby

Rakefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ namespace :lint do
2020

2121
desc 'Lint Rust sources with Clippy'
2222
task :clippy do
23-
FileList['**/{build,lib,main}.rs'].each do |root|
24-
FileUtils.touch(root)
25-
end
26-
sh 'cargo clippy --workspace --all-features'
23+
sh 'cargo clippy --workspace --all-features --all-targets'
2724
end
2825

2926
desc 'Lint Rust sources with Clippy restriction pass (unenforced lints)'

0 commit comments

Comments
 (0)