Commit Graph

19 Commits

Author SHA1 Message Date
per1234
a673c41bcf Alphabetize tasks
I originally set out to establish some logical order to the tasks on some indecipherable criteria. In the end, it
resulted in a jumble.

Alphabetical order is completely objective and it results in a fairly logical order in the end due to the the use of
prefixes on the task names according to their domain. The exception is that the convenience "umbrella" tasks have been
left at the top (in their own alphabetical order) so that they will have the maximum visibility as the most useful tasks.
Even that is not completely inconsistent, since these don't have a namespace prefix, and so might be imagined to have a
null global namespace prefix that would be sorted first.
2021-08-13 14:59:35 -07:00
per1234
92e72a8de0 Add all relevant tasks to the check umbrella task
This is a convenience task intended to run all available checks for problems.
2021-08-13 14:55:04 -07:00
per1234
3e4cf59266 Add convenience "umbrella" task for automated corrections
The `fix` task provides a standardized interface for the developer to run all available automated correction processes.
Even though some such processes will likely be irrelevant at any given time, it can be more convenient, and often more
efficient, for a casual contributor to just run the "umbrella" task rather than inspecting the available tasks and
running each of the relevant ones individually.
2021-08-13 14:49:50 -07:00
per1234
c33b49ccaf Add source URL comments to standardized assets
This will make it easier for the maintainers to sync fixes and improvements in either direction between the upstream
"template" assets and their installation in this repository.
2021-08-13 14:36:00 -07:00
per1234
6ae2bca6a9 Make link check task Windows compatible
`npx --call` uses the native shell. The use of Bash code in the link check command passed to npx made it incompatible with Windows, even when the task was run from Bash.

After quite some struggles, I decided that it's simply too difficult to use npx for this application on Windows. The
workaround is to abandon the use of npx for this task on Windows and instead require Windows users to have
markdown-link-check installed and in PATH, providing a helpful error message in the event it is not.
2021-08-13 14:31:51 -07:00
per1234
837cc5e8b2 Add support to the link check task for generated documentation
Generated documentation content may contain links, and it is just as important to check these. This project does not
contain any generated documentation at the moment, so the generation task is left empty, but this is a sync with the
"template" task which is intended to be applicable to any project.
2021-08-13 14:27:17 -07:00
per1234
a7dc1227bd Add task for fixing Markdown linting violations
The markdownlint tool used to check for problems or style inconsistencies in the repository's Markdown content provides
an automatic correction capability for certain rules.
2021-08-13 14:25:02 -07:00
per1234
6a24055e5c Add dedicated Python dependency installation task
A dedicated task has been added for installing the project's Python dependencies via Poetry, and this should be used
throughout the taskfile in place of redundant direct commands.
2021-08-13 14:24:12 -07:00
per1234
d422e81247 Use standardized Prettier formatting task name
This is the naming convention established in the standardized template workflow.
2021-08-13 14:20:45 -07:00
per1234
0ede12fdec Correct ts:install-deps description 2021-05-10 02:41:27 -07:00
per1234
d65ce984a5 Use Task to run formatting operation
The project uses Task as the runner for all common development processes.
2021-05-07 04:49:09 -07:00
per1234
f08b86a4a9 Add CI workflow to check Markdown files for problems
On every push and pull request that affects relevant files, and periodically, check the repository's Markdown files for
problems:

- Use markdownlint to check for common problems and formatting.
- Use markdown-link-check to check for broken links.

Arduino's Markdown style is defined by the `.markdownlint.yml` file.

In the event the repository contains externally maintained Markdown files, markdownlint can be configured to ignore them
via a `.markdownlintignore` file:
https://github.com/igorshubovych/markdownlint-cli#ignoring-files

markdown-link-check is configured via the `.markdown-link-check.json` file:
https://github.com/tcort/markdown-link-check#config-file-format
2021-05-07 02:38:53 -07:00
per1234
ce7b6431cc Use minimum necessary scope for taskfile variables 2021-05-07 02:27:50 -07:00
per1234
a410cf2f83 Reduce verbosity of action metadata check CI
There was some useless output that made it more difficult to see the important information.
2021-05-07 02:27:50 -07:00
per1234
d02b19e0d6 Run spell check from "check" task
"check" is intended to allow a contributor to run all checks with a single command.
2021-05-07 02:27:50 -07:00
per1234
b8320a6fc5 Use Task for building and testing
Since this is the arduino/setup-task action, it only makes sense to use Task for everything.
2021-05-07 02:27:50 -07:00
per1234
884c4e8bb5 Add CI workflow to lint TypeScript and JavaScript code
On every push and pull request that affects relevant files, and periodically, run eslint on the repository's TypeScript
and JavaScript files.

eslint is configured via the .eslintrc.yml file:
https://eslint.org/docs/user-guide/configuring/configuration-files
2021-05-06 23:54:56 -07:00
per1234
9b54ca505a Add CI workflow to check for commonly misspelled words
On every push, pull request, and periodically, use the codespell-project/actions-codespell action to check for commonly
misspelled words.

In the event of a false positive, the problematic word should be added, in all lowercase, to the ignore-words-list field
of ./.codespellrc. Regardless of the case of the word in the false positive, it must be in all lowercase in the ignore
list. The ignore list is comma-separated with no spaces.
2021-05-05 01:15:54 -07:00
per1234
ead07189e3 Add CI workflow to validate action.yml
On every push or pull request that affects the action.yml GitHub Actions metadata file, and periodically, validate
action.yml against its JSON schema.
2021-05-04 03:26:30 -07:00