Skip to content

Conversation

lfrancke
Copy link
Contributor

@lfrancke lfrancke commented Aug 6, 2021

The previous PR #607 had issues (I couldn't get DCO right) so I created a new one.

This adds cargo-deny (for license checks and security advisories), rustfmt and clippy to the CI run for Pull Requests

Signed-off-by: Lars Francke <lars.francke@gmail.com>
@@ -1,4 +1,6 @@
on: push
on:
push:
Copy link
Member

Choose a reason for hiding this comment

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

we can probably exclude master here if we are running the job on pr

Copy link
Member

Choose a reason for hiding this comment

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

on:
  push:
    branches-ignore:
      - 'master'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

While that's true we intentionally left it in for "our" own builds because if someone clicks on the green checkmark on the main repository he/she will see that clippy ran as well. More "marketing" than useful though.

Happy to remove it. I can push an update later.

Copy link
Member

@clux clux Aug 6, 2021

Choose a reason for hiding this comment

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

Oh, never considered that as a marketing point. I never click on that on master, I tend to look at the PR and look at required statuses there (because that list is generally bigger). I'm leaning more to limiting actions to points where it can give us actionable feedback, particularly since it's a finite free resource (2000min/mo)

Copy link
Member

Choose a reason for hiding this comment

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

particularly since it's a finite free resource (2000min/mo)

I believe it's free for public projects.

GitHub Actions usage is free for both public repositories and self-hosted runners.
https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#about-billing-for-github-actions

Actions Usage is still 0 for this org.

Copy link
Member

Choose a reason for hiding this comment

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

ohhh that's how it works. i thought that was a bug. 🥟

Signed-off-by: Lars Francke <lars.francke@gmail.com>
@lfrancke lfrancke requested a review from clux August 6, 2021 11:38
Signed-off-by: Lars Francke <lars.francke@gmail.com>
@lfrancke lfrancke requested a review from clux August 6, 2021 12:45
Copy link
Member

@clux clux left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks a lot for experimenting with this. I know this stuff feels like an annoying battle with a black box most of the time.

@clux clux merged commit cab1fd5 into kube-rs:master Aug 6, 2021
@clux clux mentioned this pull request Nov 21, 2021
33 tasks
@lfrancke lfrancke deleted the ci branch November 29, 2021 21:06
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.

3 participants