-
Notifications
You must be signed in to change notification settings - Fork 31
ci: update to rust version of flint #455
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ddd25f5
ci: update to rust version of flint
zeitlinger 705401a
ci: preserve full link-check mode on push
zeitlinger 36ea753
ci: allow raw args for lint task
zeitlinger 6ae4434
docs: fix OpenTelemetry Java coding patterns link
zeitlinger 3337dd9
chore: update flint to 0.20.4
zeitlinger 0ed543a
fix: add flint-managed linter configs
zeitlinger 328535a
fix: finish rust-native formatter cutover
zeitlinger 4576dbe
chore: keep flint config under config dir
zeitlinger 1f28629
ci: keep flint rollout scoped to lychee
zeitlinger 22ef1e1
chore: update flint to v0.21.0
zeitlinger ab98205
chore: clarify yamllint ownership
zeitlinger c764664
Merge branch 'main' into use-rust-flint-v2
zeitlinger 7ddf659
chore: rely on flint renovate preset
zeitlinger ea0d4d4
chore: clean otel mise and renovate config
zeitlinger a0c10bb
chore: keep first-round otel tools minimal
zeitlinger d2af6d0
chore: keep first-round otel config minimal
zeitlinger 6ee1030
chore: keep first-round otel rollout minimal
zeitlinger 846e086
chore: restore minimal mise settings
zeitlinger 596f582
chore: drop unrelated contributing doc drift
zeitlinger 1fc5b52
chore: sync contributing guide with upstream main
zeitlinger 7ac974d
docs: point style guide link to coding patterns
zeitlinger a14261e
ci: pass current flint GitHub env vars
zeitlinger 1c27524
chore: drop redundant mise setting
zeitlinger 023a57f
chore: rely on flint task defaults
zeitlinger 96454d5
ci: rename lint workflow
zeitlinger 07a94bb
fix: drop unrelated editorconfig changes
zeitlinger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| [checks.lychee] | ||
| check_all_local = true | ||
|
|
||
| [settings] | ||
| setup_migration_version = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| [tools] | ||
|
|
||
| # Linters | ||
| "github:grafana/flint" = "0.21.0" | ||
| lychee = "0.23.0" | ||
|
|
||
| [settings] | ||
| # Only install tools explicitly defined in the [tools] section above | ||
| idiomatic_version_file_enable_tools = [] | ||
| [tasks.lint] | ||
| description = "Run link checks" | ||
| raw_args = true | ||
| run = "flint run" | ||
|
|
||
| # Windows configuration for file-based tasks | ||
| # Based on: https://github.com/jdx/mise/discussions/4461 | ||
| windows_executable_extensions = ["sh"] | ||
| windows_default_file_shell_args = "bash" | ||
| use_file_shell_for_executable_tasks = true | ||
| [tasks."lint:fix"] | ||
| description = "Auto-fix lint issues" | ||
| run = "flint run --fix" | ||
|
|
||
| # Pick the tasks you need from flint (https://github.com/grafana/flint) | ||
| [tasks."lint:links"] | ||
| description = "Check for broken links in changed files + all local links" | ||
| file = "https://raw.githubusercontent.com/grafana/flint/feab606ce514fbbf2722cc26aeafa39956383cf3/tasks/lint/links.sh" # v0.21.0 | ||
| [env] | ||
| FLINT_CONFIG_DIR = ".github/config" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
broke before and is now fixed: Error: https://raw.githubusercontent.com/open-telemetry/opentelemetry-java/main/CONTRIBUTING.md#style-guideline | Cannot find fragment: Fragment not found in document. Check if fragment exists or page structure