Skip to content

Add make cross-lint target for cross-platform linting #538

Merged
openshift-merge-bot[bot] merged 3 commits intocontainers:mainfrom
vyasgun:pr/cross-lint
Sep 9, 2025
Merged

Add make cross-lint target for cross-platform linting #538
openshift-merge-bot[bot] merged 3 commits intocontainers:mainfrom
vyasgun:pr/cross-lint

Conversation

@vyasgun
Copy link
Copy Markdown
Member

@vyasgun vyasgun commented Aug 21, 2025

Fixes: #513

- Add cross-lint target that runs linting for Linux, macOS, and Windows

Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
Copy link
Copy Markdown
Collaborator

@cfergeau cfergeau left a comment

Choose a reason for hiding this comment

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

/lgtm
One minor change needed (the removed // +build windows)

@cfergeau
Copy link
Copy Markdown
Collaborator

Can 'cross-lint' be used instead of lint in .github/workflows/golangci-lint.yml ?

Copy link
Copy Markdown
Collaborator

@cfergeau cfergeau left a comment

Choose a reason for hiding this comment

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

Looks good to me. Some of the commits are missing a signed-off-by, apart from that, it’s good to go after a green CI run.

Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
Copy link
Copy Markdown
Collaborator

@cfergeau cfergeau left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Sep 9, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Sep 9, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, vyasgun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Sep 9, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 689619c into containers:main Sep 9, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add make cross-lint

2 participants