Skip to content

Add copyright check to CI/CD pipeline#43

Open
Notgnoshi wants to merge 6 commits intomainfrom
austin/copyright-check
Open

Add copyright check to CI/CD pipeline#43
Notgnoshi wants to merge 6 commits intomainfrom
austin/copyright-check

Conversation

@Notgnoshi
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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
@Notgnoshi Notgnoshi requested a review from ad3154 January 27, 2024 15:58
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