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

ci: fail on warnings when building rust code #2716

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Conversation

conorsch
Copy link
Contributor

@conorsch conorsch commented Jun 15, 2023

Since our docs recommend cargo run --release --bin invocations, warnings will be displayed on every run. Let's fail in CI if warnings are present, so we can address them prior to merge.

Also updated the rust workflows to use maintained github action helpers.

Closes #2697.

@conorsch conorsch temporarily deployed to smoke-test June 15, 2023 14:04 — with GitHub Actions Inactive
conorsch added a commit that referenced this pull request Jun 15, 2023
Since our docs recommend `cargo run --release --bin` invocations,
warnings will be displayed on every run. Let's fail in CI if warnings
are present, so we can address them prior to merge.

Also updated the rust workflows to use maintained github action helpers.
Closes #2716.
@conorsch conorsch force-pushed the 2697-no-warnings-allowed branch from 7816c47 to 0d97d47 Compare June 15, 2023 14:22
@conorsch conorsch temporarily deployed to smoke-test June 15, 2023 14:22 — with GitHub Actions Inactive
conorsch added a commit that referenced this pull request Jun 15, 2023
Since our docs recommend `cargo run --release --bin` invocations,
warnings will be displayed on every run. Let's fail in CI if warnings
are present, so we can address them prior to merge.

Also updated the rust workflows to use maintained github action helpers.
Closes #2716.
@conorsch conorsch force-pushed the 2697-no-warnings-allowed branch from 0d97d47 to bd4b659 Compare June 15, 2023 14:39
conorsch added a commit that referenced this pull request Jun 15, 2023
Since our docs recommend `cargo run --release --bin` invocations,
warnings will be displayed on every run. Let's fail in CI if warnings
are present, so we can address them prior to merge.

Also updated the rust workflows to use maintained github action helpers.
Closes #2716.
@conorsch conorsch force-pushed the 2697-no-warnings-allowed branch from bd4b659 to 0bace76 Compare June 15, 2023 14:43
conorsch added a commit that referenced this pull request Jun 15, 2023
Since our docs recommend `cargo run --release --bin` invocations,
warnings will be displayed on every run. Let's fail in CI if warnings
are present, so we can address them prior to merge.

Also updated the rust workflows to use maintained github action helpers.
Closes #2716.
@conorsch conorsch force-pushed the 2697-no-warnings-allowed branch from 0bace76 to 31af861 Compare June 15, 2023 14:47
@conorsch conorsch temporarily deployed to smoke-test June 15, 2023 14:47 — with GitHub Actions Inactive
Since our docs recommend `cargo run --release --bin` invocations,
warnings will be displayed on every run. Let's fail in CI if warnings
are present, so we can address them prior to merge.

Also updated the rust workflows to use maintained github action helpers.
Closes #2716.
@conorsch conorsch force-pushed the 2697-no-warnings-allowed branch from 31af861 to 5875c38 Compare June 15, 2023 15:19
@conorsch conorsch temporarily deployed to smoke-test June 15, 2023 15:19 — with GitHub Actions Inactive
@conorsch conorsch temporarily deployed to smoke-test June 15, 2023 15:40 — with GitHub Actions Inactive
@conorsch conorsch force-pushed the 2697-no-warnings-allowed branch from 02ca9d1 to 5875c38 Compare June 15, 2023 16:37
@conorsch conorsch temporarily deployed to smoke-test June 15, 2023 16:37 — with GitHub Actions Inactive
@conorsch conorsch merged commit 2063191 into main Jun 15, 2023
@conorsch conorsch deleted the 2697-no-warnings-allowed branch June 15, 2023 18:03
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.

Fail CI if there are rust build warnings
1 participant