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}]
indent_size = 2
indent_style = space
[{.gitconfig,.gitmodules}]
indent_style = tab

View File

@ -1,6 +1,10 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-yaml-task.md
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
on:
push:
@ -65,7 +69,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
run: pip install poetry

View File

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