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

More CI updates #4

Merged
merged 7 commits into from
Jul 6, 2024
Merged

More CI updates #4

merged 7 commits into from
Jul 6, 2024

Conversation

333fred
Copy link
Member

@333fred 333fred commented Jul 5, 2024

A few more things to help with infra stuff; recommended extensions, some default settings, enforce prettier on CI, and create a workflow to format code on request.

@333fred
Copy link
Member Author

333fred commented Jul 5, 2024

/format

@333fred
Copy link
Member Author

333fred commented Jul 5, 2024

Unfortunately, I can't really test the /format command until the workflow is actually merged.

Copy link
Collaborator

@lethosor lethosor left a comment

Choose a reason for hiding this comment

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

Nice

.github/workflows/format.yml Show resolved Hide resolved
@@ -0,0 +1,15 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm ok adding this as long as it doesn't interfere with other users' settings. (I'm guessing it doesn't, and I've seen .vscode/settings.json tracked before...)

Copy link
Member Author

Choose a reason for hiding this comment

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

Workspace-specific settings override global settings, so if you've set up your own formatter, it will be overridden. I'm ok with that because CI will fail if you haven't formatted as prettier would.

Co-authored-by: Alan <lethosor@users.noreply.github.com>
@333fred 333fred merged commit b6ad42c into FIRST-Robotics-Competition:main Jul 6, 2024
1 check passed
@333fred 333fred deleted the ci branch July 6, 2024 23:53
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.

2 participants