Skip to content

Commit 5388744

Browse files
authored
Merge pull request #649 from per1234/sync
Sync project infrastructure with assets
2 parents 380bcc0 + 48f4613 commit 5388744

File tree

8 files changed

+21
-8
lines changed

8 files changed

+21
-8
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[codespell]
44
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
55
ignore-words-list = ba,licence,ot
6-
skip = .git,./.licenses,__pycache__,node_modules,./other/clang-format-configuration/testdata/input/samples,./other/clang-format-configuration/testdata/golden,./other/clang-format-configuration/.clang-format,go.mod,go.sum,package-lock.json,poetry.lock,yarn.lock
6+
skip = ./.licenses,.git,__pycache__,node_modules,./other/clang-format-configuration/testdata/input/samples,./other/clang-format-configuration/testdata/golden,./other/clang-format-configuration/.clang-format,go.mod,go.sum,package-lock.json,poetry.lock,yarn.lock
77
builtin = clear,informal,en-GB_to_en-US
88
check-filenames =
99
check-hidden =

.github/workflows/check-files-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ on:
1515
jobs:
1616
run-determination:
1717
runs-on: ubuntu-latest
18+
permissions: {}
1819
outputs:
1920
result: ${{ steps.determination.outputs.result }}
20-
permissions: {}
2121
steps:
2222
- name: Determine if the rest of the workflow should run
2323
id: determination

.github/workflows/check-prettier-formatting-task.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- "Taskfile.ya?ml"
1212
- "**/.prettierignore"
1313
- "**/.prettierrc*"
14+
# Prettier-covered file patterns are defined by:
15+
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
16+
#
1417
# CSS
1518
- "**.css"
1619
- "**.wxss"
@@ -115,8 +118,6 @@ on:
115118
- "Taskfile.ya?ml"
116119
- "**/.prettierignore"
117120
- "**/.prettierrc*"
118-
# Prettier-covered file patterns are defined by:
119-
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
120121
# CSS
121122
- "**.css"
122123
- "**.wxss"

.github/workflows/check-workflows-task.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
paths:
88
- ".github/workflows/*.ya?ml"
99
- ".npmrc"
10+
- "package.json"
11+
- "package-lock.json"
1012
- "Taskfile.ya?ml"
1113
- "workflow-templates/*.ya?ml"
1214
pull_request:
1315
paths:
1416
- ".github/workflows/*.ya?ml"
1517
- ".npmrc"
18+
- "package.json"
19+
- "package-lock.json"
1620
- "Taskfile.ya?ml"
1721
- "workflow-templates/*.ya?ml"
1822
schedule:

Taskfile.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ tasks:
462462
463463
docs:generate:
464464
desc: Create all generated documentation content
465+
run: when_changed
465466
# This is an "umbrella" task used to call any documentation generation processes the project has.
466467
# It can be left empty if there are none.
467468

@@ -586,7 +587,8 @@ tasks:
586587
! which ec \
587588
&>/dev/null
588589
then
589-
echo "ec not found or not in PATH. Please install: https://github.com/editorconfig-checker/editorconfig-checker#installation"
590+
echo "ec not found or not in PATH."
591+
echo "Please install: https://github.com/editorconfig-checker/editorconfig-checker#installation"
590592
exit 1
591593
fi
592594
- ec
@@ -712,6 +714,7 @@ tasks:
712714
-s "{{.SCHEMA_PATH}}" \
713715
-d "{{.DATA_PATH}}"
714716
717+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-javascript-task/Taskfile.yml
715718
js:fix:
716719
desc: Fix JavaScript code linting violations
717720
deps:
@@ -724,6 +727,7 @@ tasks:
724727
--fix \
725728
.
726729
730+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-javascript-task/Taskfile.yml
727731
js:lint:
728732
desc: Lint JavaScript code
729733
deps:
@@ -1083,6 +1087,7 @@ tasks:
10831087
flake8 \
10841088
--show-source
10851089
1090+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-python-poetry-task/Taskfile.yml
10861091
python:test:
10871092
desc: Run Python tests
10881093
deps:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry/pyproject.toml
12
[tool.black]
23
line-length = 120
34

workflow-templates/assets/deploy-mkdocs-versioned/siteversion/tests/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-python/__init__.py
1+
# Source:
2+
# https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-python/__init__.py
23
# Copyright 2021 ARDUINO SA (http://www.arduino.cc/)
34
#
45
# This software is released under the GNU General Public License version 3,

workflow-templates/check-prettier-formatting-task.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- "Taskfile.ya?ml"
1212
- "**/.prettierignore"
1313
- "**/.prettierrc*"
14+
# Prettier-covered file patterns are defined by:
15+
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
16+
#
1417
# CSS
1518
- "**.css"
1619
- "**.wxss"
@@ -115,8 +118,6 @@ on:
115118
- "Taskfile.ya?ml"
116119
- "**/.prettierignore"
117120
- "**/.prettierrc*"
118-
# Prettier-covered file patterns are defined by:
119-
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
120121
# CSS
121122
- "**.css"
122123
- "**.wxss"

0 commit comments

Comments
 (0)