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

Add copyright check to CI/CD pipeline #43

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Notgnoshi
Copy link
Member

@Notgnoshi Notgnoshi commented Jan 27, 2024

Closes #35.
Closes #36.

image

A frequent source of CI failures (here, but mostly elsewhere) is not
pinning your compiler version. As new versions are released, new lints
and errors are added, making a project that used to build without
errors, now fail simply because there's a new release.

Now, we can, and SHOULD frequently upgrade our toolchain, but it should
still be pinned, so that we can do it on our terms.

Closes #36.
@Notgnoshi Notgnoshi changed the title Austin/copyright check Add copyright check to CI/CD pipeline Jan 27, 2024
Copy link

codecov bot commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (da74b03) 11.52% compared to head (78cf275) 11.21%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   11.52%   11.21%   -0.32%     
==========================================
  Files          17       17              
  Lines        2664     2613      -51     
==========================================
- Hits          307      293      -14     
+ Misses       2357     2320      -37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

I suspect this lint was added to clippy since we last merged to main,
and that the CI/CD pipeline uses the latest clippy release.
This was a new lint added since the Object enum was first merged.

    warning: variant name starts with the enum's name
      --> src/object_pool/object.rs:44:5
       |
    44 |     ObjectPointer(ObjectPointer),
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
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.

Pin a rust version in the CI/CD pipeline Add copyright lint to CI/CD pipeline
1 participant