From 3cb28ed49acd1f239819c6f3f196e75b1564dfcd Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 20 May 2021 02:14:14 -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/link-validation.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yaml | 2 +- .github/workflows/verify-formatting.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/link-validation.yml b/.github/workflows/link-validation.yml index 6605dfc7..c1556f9a 100644 --- a/.github/workflows/link-validation.yml +++ b/.github/workflows/link-validation.yml @@ -15,7 +15,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 2c3d4aba..bfa73ea7 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 @@ -118,7 +118,7 @@ jobs: path: dist - 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.yaml b/.github/workflows/test.yaml index 935078aa..49a18ea3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ jobs: go-version: "1.15" - 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/verify-formatting.yml b/.github/workflows/verify-formatting.yml index df0edbdf..9acaab79 100644 --- a/.github/workflows/verify-formatting.yml +++ b/.github/workflows/verify-formatting.yml @@ -25,7 +25,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