File tree Expand file tree Collapse file tree 5 files changed +28
-6
lines changed Expand file tree Collapse file tree 5 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 11name : Check Code Generation
22
3+ env :
4+ # See: https://github.com/actions/setup-go/tree/v2#readme
5+ GO_VERSION : " 1.16"
6+
37on :
48 push :
59 paths :
2933 - name : Install Go
3034 uses : actions/setup-go@v2
3135 with :
32- go-version : " 1.16 "
36+ go-version : ${{ env.GO_VERSION }}
3337
3438 - name : Install Taskfile
3539 uses : arduino/setup-task@v1
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/deploy-cobra-mkdocs-versioned-poetry.md
22name : Deploy Website
33
4+ env :
5+ # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
6+ PYTHON_VERSION : " 3.9"
7+
48on :
59 push :
610 branches :
5256 - name : Install Python
5357 uses : actions/setup-python@v2
5458 with :
55- python-version : " 3.9 "
59+ python-version : ${{ env.PYTHON_VERSION }}
5660
5761 - name : Install Poetry
5862 run : |
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/spell-check-task.md
22name : Spell Check
33
4+ env :
5+ # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
6+ PYTHON_VERSION : " 3.9"
7+
48# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
59on :
610 push :
2226 - name : Install Python
2327 uses : actions/setup-python@v2
2428 with :
25- python-version : " 3.9 "
29+ python-version : ${{ env.PYTHON_VERSION }}
2630
2731 - name : Install Poetry
2832 run : pip install poetry
Original file line number Diff line number Diff line change 11name : Test Integration
22
3+ env :
4+ # See: https://github.com/actions/setup-go/tree/v2#readme
5+ GO_VERSION : " 1.16"
6+ # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
7+ PYTHON_VERSION : " 3.9"
8+
39on :
410 push :
511 paths :
4046 - name : Install Go
4147 uses : actions/setup-go@v2
4248 with :
43- go-version : " 1.16 "
49+ go-version : ${{ env.GO_VERSION }}
4450
4551 - name : Install Taskfile
4652 uses : arduino/setup-task@v1
5157 - name : Install Python
5258 uses : actions/setup-python@v2
5359 with :
54- python-version : " 3.9 "
60+ python-version : ${{ env.PYTHON_VERSION }}
5561
5662 - name : Install Poetry
5763 run : pip install poetry
Original file line number Diff line number Diff line change 11name : Run tests
22
3+ env :
4+ # See: https://github.com/actions/setup-go/tree/v2#readme
5+ GO_VERSION : " 1.16"
6+
37on :
48 push :
59 paths :
3640 - name : Install Go
3741 uses : actions/setup-go@v2
3842 with :
39- go-version : " 1.16 "
43+ go-version : ${{ env.GO_VERSION }}
4044
4145 - name : Install Taskfile
4246 uses : arduino/setup-task@v1
You can’t perform that action at this time.
0 commit comments