Skip to content

Validate - #25

Merged
James Bruten (james-bruten-mo) merged 13 commits into
MetOffice:mainfrom
yaswant:validate
Nov 12, 2025
Merged

Validate#25
James Bruten (james-bruten-mo) merged 13 commits into
MetOffice:mainfrom
yaswant:validate

Conversation

@yaswant

Copy link
Copy Markdown
Collaborator

At the moment there is no checks for contributed workflows. This PR adds an additional workflow to validate the changes in a PR.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A small query.
And do you want to fix the failing yamllint as part of this PR?

Comment thread .github/workflows/validate.yaml Outdated

validate:
name: QC
runs-on: ubuntu-latest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I notice that you always use ubuntu-latest rather than ubuntu-X.Y. Is there a reason for this? I suspect our current workflows are unlikely to break between ubuntu versions, but I would instinctively prefer to not have that change under us

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Not always. For a workflow requiring code compilation I stick to a fixed version. For simple tools, prefer floating version: to be honest ubuntu-latest is pretty solid for most tasks (like this one). But I agree with you and probably change that to 24.04.

@yaswant

Copy link
Copy Markdown
Collaborator Author

A small query. And do you want to fix the failing yamllint as part of this PR?

No. That workflow will get purged once #20 is in.

@james-bruten-mo
James Bruten (james-bruten-mo) merged commit c26c037 into MetOffice:main Nov 12, 2025
1 of 3 checks passed
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