From 256c4c71c54d95e90ac183173b21e48fceda43bc Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 20 May 2021 02:26:15 -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-go.yml | 8 ++++---- .github/workflows/check-prettier-formatting-task.yml | 2 +- .github/workflows/spell-check-task.yml | 2 +- .github/workflows/test-go.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-go.yml b/.github/workflows/check-go.yml index 956660c4..c9a4b460 100644 --- a/.github/workflows/check-go.yml +++ b/.github/workflows/check-go.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v2 - name: Install Task - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@v2 - name: Install Task - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x @@ -66,7 +66,7 @@ jobs: uses: actions/checkout@v2 - name: Install Task - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x @@ -82,7 +82,7 @@ jobs: uses: actions/checkout@v2 - name: Install Task - 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-prettier-formatting-task.yml b/.github/workflows/check-prettier-formatting-task.yml index 5b5f4afc..c0813c04 100644 --- a/.github/workflows/check-prettier-formatting-task.yml +++ b/.github/workflows/check-prettier-formatting-task.yml @@ -206,7 +206,7 @@ jobs: uses: actions/checkout@v2 - name: Install Task - 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-task.yml b/.github/workflows/spell-check-task.yml index 07736b1e..2298a18a 100644 --- a/.github/workflows/spell-check-task.yml +++ b/.github/workflows/spell-check-task.yml @@ -27,7 +27,7 @@ jobs: run: pip install poetry - name: Install Task - 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-go.yml b/.github/workflows/test-go.yml index 225dbdf3..dfedb04b 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -35,7 +35,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 @@ -77,7 +77,7 @@ jobs: echo "$ARDUINO_LINT_INSTALLATION_PATH" >> "$GITHUB_PATH" - name: Install Taskfile - uses: arduino/actions/setup-taskfile@master + uses: arduino/setup-task@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x