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

Fixup CI #63

Merged
merged 3 commits into from
Dec 6, 2023
Merged

Fixup CI #63

merged 3 commits into from
Dec 6, 2023

Conversation

laniakea64
Copy link
Collaborator

@laniakea64 laniakea64 commented Dec 4, 2023

Noticed that just's CI does not use actions/cache, they instead use Swatinem/rust-cache. For us it looks (based on testing in a personal fork) following suit would fixes #55 by preventing unnecessary rebuilds. So this PR makes this change.

This also removes use of deprecated node16 from our CI.

Additionally, noticed that the "Check for forbidden words" is not working. This check is anyway not desirable: if it were working as intended, it would flag things that SHOULD be committed (e.g. Todo syntax highlighting). So this has been removed.

This PR is intended for manual review: I would expect this to fail CI in the PR, but pass CI when pushed to main.

@laniakea64
Copy link
Collaborator Author

Well that didn't go as expected 😕
I thought our CI would run workflow file from main when running on pull requests?

@NoahTheDuke
Copy link
Owner

I don't know much about the actions stuff, so I'll trust your judgement with this.

@laniakea64 laniakea64 merged commit 4e3dd84 into main Dec 6, 2023
1 check passed
@laniakea64 laniakea64 deleted the ci-fix branch December 6, 2023 02:58
@laniakea64
Copy link
Collaborator Author

laniakea64 commented Dec 6, 2023

I don't know much about Github Actions either, but ok, pushed to main 😄

I thought our CI would run workflow file from main when running on pull requests?

Since that thinking is incorrect, and IIUC it's currently not (fully or safely) possible to make PR runs use our workflow file from main:

@NoahTheDuke Could you please configure Actions settings for this repo to "Require approval for all outside collaborators" if it's not set that way already?

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.

Caching not working as intended?
2 participants