Skip to content

Add Taskfile for common project actions #4

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
Oct 27, 2020
Merged

Add Taskfile for common project actions #4

merged 1 commit into from
Oct 27, 2020

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Oct 26, 2020

No description provided.

@per1234 per1234 requested a review from silvanocerza October 26, 2020 07:46
Comment on lines +147 to +151
workflow:validate:
desc: Validate GitHub Actions workflows against JSON schema
cmds:
- wget --output-document={{ .WORKFLOW_SCHEMA_PATH }} https://json.schemastore.org/github-workflow
- npx ajv-cli validate -s {{ .WORKFLOW_SCHEMA_PATH }} -d "./.github/workflows/*.{yml,yaml}"
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this! Maybe we could add it in the the CLI repo too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm certainly in favor. I've been using the JSON schema locally for the last couple months and found it to be pretty useful. I created a Jira task about it (ATL-657).

@per1234 per1234 merged commit d92bcbf into arduino:main Oct 27, 2020
@per1234 per1234 deleted the add-taskfile branch October 27, 2020 13:03
@per1234 per1234 added topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement labels Sep 29, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants