Skip to content

feat(github-actions): add Go file change detection to golangci-lint workflow #1794

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 1 commit into from
Apr 10, 2025

Conversation

kakkoyun
Copy link
Member

  • Introduced a step to check for changes in Go files using dorny/paths-filter.
  • Conditional execution of the linting step based on the presence of Go file changes.

This enhancement optimizes the CI process by only running linting when relevant files are modified, improving efficiency.

…orkflow

- Introduced a step to check for changes in Go files using dorny/paths-filter.
- Conditional execution of the linting step based on the presence of Go file changes.

This enhancement optimizes the CI process by only running linting when relevant files are modified, improving efficiency.

Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
@kakkoyun kakkoyun force-pushed the run_if_go_files_chaged branch from 1c823e2 to ca2223a Compare April 10, 2025 08:35
@kakkoyun kakkoyun merged commit 72eeefb into main Apr 10, 2025
10 checks passed
@kakkoyun kakkoyun deleted the run_if_go_files_chaged branch April 10, 2025 08:59
ying-jeanne pushed a commit to ying-jeanne/client_golang that referenced this pull request Apr 16, 2025
…orkflow (prometheus#1794)

- Introduced a step to check for changes in Go files using dorny/paths-filter.
- Conditional execution of the linting step based on the presence of Go file changes.

This enhancement optimizes the CI process by only running linting when relevant files are modified, improving efficiency.

Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
juliusmh pushed a commit to juliusmh/client_golang that referenced this pull request Jun 30, 2025
…orkflow (prometheus#1794)

- Introduced a step to check for changes in Go files using dorny/paths-filter.
- Conditional execution of the linting step based on the presence of Go file changes.

This enhancement optimizes the CI process by only running linting when relevant files are modified, improving efficiency.

Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
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.

1 participant