1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-05-19 08:13:41 +03:00

Merge pull request #357 from per1234/sync-ci

Sync CI assets to their "templates"
This commit is contained in:
per1234 2021-08-13 01:26:00 -07:00 committed by GitHub
commit 992a462a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 4 deletions

View File

@ -55,3 +55,6 @@ indent_style = space
[*.{yaml,yml}] [*.{yaml,yml}]
indent_size = 2 indent_size = 2
indent_style = space indent_style = space
[{.gitconfig,.gitmodules}]
indent_style = tab

View File

@ -4,7 +4,7 @@
# #
# This software is released under the GNU General Public License version 3, # This software is released under the GNU General Public License version 3,
# The terms of this license can be found at: # The terms of this license can be found at:
# https: // www.gnu.org/licenses/gpl-3.0.en.html # https://www.gnu.org/licenses/gpl-3.0.en.html
# #
# You can be released from the requirements of the above licenses by purchasing # You can be released from the requirements of the above licenses by purchasing
# a commercial license. Buying such a license is mandatory if you want to # a commercial license. Buying such a license is mandatory if you want to

View File

@ -4,7 +4,7 @@
# #
# This software is released under the GNU General Public License version 3, # This software is released under the GNU General Public License version 3,
# The terms of this license can be found at: # The terms of this license can be found at:
# https: // www.gnu.org/licenses/gpl-3.0.en.html # https://www.gnu.org/licenses/gpl-3.0.en.html
# #
# You can be released from the requirements of the above licenses by purchasing # You can be released from the requirements of the above licenses by purchasing
# a commercial license. Buying such a license is mandatory if you want to # a commercial license. Buying such a license is mandatory if you want to

View File

@ -1,6 +1,10 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-yaml-task.md # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-yaml-task.md
name: Check YAML name: Check YAML
env:
# See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
PYTHON_VERSION: "3.9"
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on: on:
push: push:
@ -65,7 +69,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: "3.9" python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry - name: Install Poetry
run: pip install poetry run: pip install poetry

View File

@ -53,7 +53,7 @@ jobs:
- name: Install Poetry - name: Install Poetry
run: pip install poetry run: pip install poetry
- name: Install Taskfile - name: Install Task
uses: arduino/setup-task@v1 uses: arduino/setup-task@v1
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}