Skip to content

Commit 8d6e59f

Browse files
committed
Pin Windows-compatible version of Task where necessary
The recent 3.9.1 release of the Task task runner does not correctly handle the PATH environment variable on Windows. Since the "template" workflows were configured to always use the latest version of Task within the 3.x major version series, this bug caused spurious failure of workflows under the following conditions: - Used a Windows runner - Ran a task that contained a command reliant on a file from PATH The workaround is to pin the version of Task used in these workflows to the last working version: 3.9.0.
1 parent 37bf2ea commit 8d6e59f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
uses: arduino/setup-task@v1
9292
with:
9393
repo-token: ${{ secrets.GITHUB_TOKEN }}
94-
version: 3.x
94+
version: 3.9.0
9595

9696
- name: Run integration tests
9797
run: task go:test-integration

workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
uses: arduino/setup-task@v1
8787
with:
8888
repo-token: ${{ secrets.GITHUB_TOKEN }}
89-
version: 3.x
89+
version: 3.9.0
9090

9191
- name: Run tests
9292
env:

workflow-templates/test-go-integration-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
uses: arduino/setup-task@v1
9292
with:
9393
repo-token: ${{ secrets.GITHUB_TOKEN }}
94-
version: 3.x
94+
version: 3.9.0
9595

9696
- name: Run integration tests
9797
run: task go:test-integration

workflow-templates/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
uses: arduino/setup-task@v1
8787
with:
8888
repo-token: ${{ secrets.GITHUB_TOKEN }}
89-
version: 3.x
89+
version: 3.9.0
9090

9191
- name: Run tests
9292
env:

0 commit comments

Comments
 (0)