File tree 8 files changed +1022
-1032
lines changed
8 files changed +1022
-1032
lines changed Original file line number Diff line number Diff line change
1
+ # See: https://git-scm.com/docs/gitattributes
2
+
3
+ # Disable Git converting line endings in files (i.e., core.autocrlf=true).
4
+ * - text
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ name: Check Website
4
4
env :
5
5
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6
6
GO_VERSION : " 1.17"
7
- # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
8
- PYTHON_VERSION : " 3.9"
9
7
10
8
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
11
9
on :
88
86
- name : Install Python
89
87
uses : actions/setup-python@v5
90
88
with :
91
- python-version : ${{ env.PYTHON_VERSION }}
89
+ python-version-file : pyproject.toml
92
90
93
91
- name : Install Poetry
94
92
run : pip install poetry
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-python-task.md
2
2
name : Check Python
3
3
4
- env :
5
- # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
6
- PYTHON_VERSION : " 3.9"
7
-
8
4
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
9
5
on :
10
6
create :
73
69
- name : Install Python
74
70
uses : actions/setup-python@v5
75
71
with :
76
- python-version : ${{ env.PYTHON_VERSION }}
72
+ python-version-file : pyproject.toml
77
73
78
74
- name : Install Poetry
79
75
run : pip install poetry
@@ -104,7 +100,7 @@ jobs:
104
100
- name : Install Python
105
101
uses : actions/setup-python@v5
106
102
with :
107
- python-version : ${{ env.PYTHON_VERSION }}
103
+ python-version-file : pyproject.toml
108
104
109
105
- name : Install Poetry
110
106
run : pip install poetry
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ name: Deploy Website
4
4
env :
5
5
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6
6
GO_VERSION : " 1.17"
7
- # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
8
- PYTHON_VERSION : " 3.9"
9
7
10
8
on :
11
9
push :
76
74
- name : Install Python
77
75
uses : actions/setup-python@v5
78
76
with :
79
- python-version : ${{ env.PYTHON_VERSION }}
77
+ python-version-file : pyproject.toml
80
78
81
79
- name : Install Poetry
82
80
run : |
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/spell-check-task.md
2
2
name : Spell Check
3
3
4
- env :
5
- # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
6
- PYTHON_VERSION : " 3.9"
7
-
8
4
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
9
5
on :
10
6
create :
55
51
- name : Install Python
56
52
uses : actions/setup-python@v5
57
53
with :
58
- python-version : ${{ env.PYTHON_VERSION }}
54
+ python-version-file : pyproject.toml
59
55
60
56
- name : Install Poetry
61
57
run : pip install poetry
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ name: Test Integration
4
4
env :
5
5
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6
6
GO_VERSION : " 1.17"
7
- # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
8
- PYTHON_VERSION : " 3.9"
9
7
10
8
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
11
9
on :
88
86
- name : Install Python
89
87
uses : actions/setup-python@v5
90
88
with :
91
- python-version : ${{ env.PYTHON_VERSION }}
89
+ python-version-file : pyproject.toml
92
90
93
91
- name : Install Poetry
94
92
run : pip install poetry
You can’t perform that action at this time.
0 commit comments