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

Consolidate on .yaml extension for YAML files #228

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Feb 25, 2024

This one is extremely minor, but we use the .yml extension for GitHub
Actions and golangci-lint, and the .yaml extension for our sqlc
configurations. I find that I occasionally type the full "yaml" when
doing a file quick search in places like VSCode, and it's a bit better
to have the full .yaml extension for that because typing "yml" will
find either .yml or .yaml, but typing "yaml" finds only the latter.

Both GitHub Actions and golangci-lint [1] are agnostic to the file
extension in use.

[1] https://golangci-lint.run/usage/configuration/

This one is extremely minor, but we use the `.yml` extension for GitHub
Actions and golangci-lint, and the `.yaml` extension for our sqlc
configurations. I find that I occasionally type the full "yaml" when
doing a file quick search in places like VSCode, and it's a bit better
to have the full `.yaml` extension for that because typing "yml" will
find either `.yml` or `.yaml`, but typing "yaml" finds only the latter.

Both GitHub Actions and golangci-lint [1] are agnostic to the file
extension in use.

[1] https://golangci-lint.run/usage/configuration/
@brandur brandur requested a review from bgentry February 25, 2024 06:04
@brandur
Copy link
Contributor Author

brandur commented Feb 25, 2024

@bgentry The only good news about these frequent intermittent failures is that they're annoying enough that it's going to make us get pretty serious about fixing them fast, lol.

Tiny change here — okay with you?

@brandur
Copy link
Contributor Author

brandur commented Feb 25, 2024

Ty.

@brandur brandur merged commit 4a63e9a into master Feb 25, 2024
10 checks passed
@brandur brandur deleted the brandur-yaml-extension branch February 25, 2024 17:39
brandur added a commit that referenced this pull request Mar 13, 2024
Rendering of the build status badge in the README on GitHub is currently
broken because of the change I made in #228 that changed the extension
of the CI file from `.yml` to `.yaml`. I didn't realize the filename was
in the badge's source path, but it is, and trying to locate `ci.yml` no
longer finds anything. Here, a very small change to fix the problem.
bgentry pushed a commit that referenced this pull request Mar 13, 2024
Rendering of the build status badge in the README on GitHub is currently
broken because of the change I made in #228 that changed the extension
of the CI file from `.yml` to `.yaml`. I didn't realize the filename was
in the badge's source path, but it is, and trying to locate `ci.yml` no
longer finds anything. Here, a very small change to fix the problem.
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