From f8f3d61712f4b512bd8279471cec121b89c8e6d6 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 20 May 2021 02:00:06 -0700 Subject: [PATCH] Use new arduino/setup-task action name in CI/CD workflows The GitHub Actions action for installing Task has graduated from its original home in the experimental `arduino/action` repository with a move to a dedicated permanent repository at `arduino/setup-task`. A 1.0.0 release has been made and a `v1` ref that will track all releases in the major version 1 series. Use of the action's major version ref will cause the workflow to benefit from ongoing development to the action at each patch or minor release up until such time as a new major release is made. At this time the user will be given the opportunity to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before manually updating the major ref in the workflows (e.g., `uses: arduino/setup-task@v2`). --- .github/workflows/check-formatting.yml | 2 +- .github/workflows/check-links.yml | 2 +- .github/workflows/lint-code.yml | 2 +- .github/workflows/lint-config.yml | 2 +- .github/workflows/lint-documentation.yml | 2 +- .github/workflows/lint-python.yml | 2 +- .github/workflows/lint-shell.yml | 2 +- .github/workflows/nightly.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/spell-check.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/validate-docs.yml | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index b7c3cb06c..9ff92f688 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 8169e590c..ddc3ff0b7 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index a91fccf17..ad1486418 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/lint-config.yml b/.github/workflows/lint-config.yml index a33d00ad3..6e7dd0f7a 100644 --- a/.github/workflows/lint-config.yml +++ b/.github/workflows/lint-config.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/lint-documentation.yml b/.github/workflows/lint-documentation.yml index b571839d6..52de4894d 100644 --- a/.github/workflows/lint-documentation.yml +++ b/.github/workflows/lint-documentation.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/lint-python.yml b/.github/workflows/lint-python.yml index 2310d07aa..9258d0fe4 100644 --- a/.github/workflows/lint-python.yml +++ b/.github/workflows/lint-python.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/lint-shell.yml b/.github/workflows/lint-shell.yml index 4ed990c40..9b21c8d05 100644 --- a/.github/workflows/lint-shell.yml +++ b/.github/workflows/lint-shell.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8e0da3673..51c3dfe85 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 620ab34c4..28c658566 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea9870861..fb3253eaf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: changelog-file-path: "dist/CHANGELOG.md" - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 68e9dfc24..638da1941 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -24,7 +24,7 @@ jobs: run: pip install poetry - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1fe19889..56b75034e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: go-version: "1.14" - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x diff --git a/.github/workflows/validate-docs.yml b/.github/workflows/validate-docs.yml index c8e078bc0..240677ac3 100644 --- a/.github/workflows/validate-docs.yml +++ b/.github/workflows/validate-docs.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v2 - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x