Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/cargo-clippy.sh: Extract our non-trivial cargo clippy command #33982

Merged
merged 1 commit into from
Nov 8, 2023
Merged

scripts/cargo-clippy.sh: Extract our non-trivial cargo clippy command #33982

merged 1 commit into from
Nov 8, 2023

Conversation

ilya-bobyr
Copy link
Contributor

Problem

CI uses a number of parameters when running cargo clippy. Repeating the same command manually requires some copy/pasting. It is easier when there is a common script that can be run by everyone.

Summary of Changes

Add scripts/cargo-clippy.sh that is used by CI and is executable directly.

CI uses a number of parameters when running `cargo clippy`.  Repeating
the same command manually requires some copy/pasting.  It is easier when
there is a common script that can be run by everyone.
@ilya-bobyr ilya-bobyr requested a review from yihau November 7, 2023 23:48
Copy link
Member

@yihau yihau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@ilya-bobyr ilya-bobyr merged commit 8c5b5f1 into solana-labs:master Nov 8, 2023
16 checks passed
@ilya-bobyr ilya-bobyr deleted the pr/add-cargo-clippy.sh branch November 8, 2023 10:50
yihau added a commit that referenced this pull request Dec 10, 2023
yihau added a commit that referenced this pull request Dec 10, 2023
yihau added a commit that referenced this pull request Dec 10, 2023
mergify bot added a commit that referenced this pull request Dec 10, 2023
* ci: add macos clippy test (#34272)

* ci: add clippy test for macos and windows

* ci: remove windows from clippy test

* ci: cancel cargo clippy on Github Actions when new commits comming

* ci: set -e for .github/scripts/cargo-clippy-before-script.sh

(cherry picked from commit 4832b4e)

* scripts/cargo-clippy.sh: Extract our non-trivial cargo clippy command (manual backport of #33982)

---------

Co-authored-by: Yihau Chen <[email protected]>
Co-authored-by: yihau <[email protected]>
mergify bot added a commit that referenced this pull request Dec 10, 2023
* ci: add macos clippy test (#34272)

* ci: add clippy test for macos and windows

* ci: remove windows from clippy test

* ci: cancel cargo clippy on Github Actions when new commits comming

* ci: set -e for .github/scripts/cargo-clippy-before-script.sh

(cherry picked from commit 4832b4e)

* scripts/cargo-clippy.sh: Extract our non-trivial cargo clippy command (manual backport of #33982)

---------

Co-authored-by: Yihau Chen <[email protected]>
Co-authored-by: yihau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants