Skip to content

Commit 74c5801

Browse files
committed
Use arduino/setup-task@v1 action for Linux build job
Unfortunately the latest v2 version of the arduino/setup-task action used to install the Task task runner tool in the runner machine has a dependency on a higher version of glibc than is provided by the Linux container. For this reason, the workflow is configured to use arduino/setup-task@v1 for the Linux build job. We will receive pull requests from Dependabot offering to update this outdated action dependency at each subsequent major version release of the action (which are not terribly frequent). We must decline the bump of the action in that specific step, but we can accept the bumps of all other usages of the action in the workflows. Dependabot remembers when you decline a bump so this should not be too bothersome.
1 parent 71bd189 commit 74c5801

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

+9
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,20 @@ jobs:
320320
go-version: ${{ env.GO_VERSION }}
321321

322322
- name: Install Taskfile
323+
if: fromJSON(matrix.config.container) == null
323324
uses: arduino/setup-task@v2
324325
with:
325326
repo-token: ${{ secrets.GITHUB_TOKEN }}
326327
version: 3.x
327328

329+
- name: Install Taskfile
330+
# actions/setup-task@v2 has dependency on a higher version of glibc than available in the Linux container.
331+
if: fromJSON(matrix.config.container) != null
332+
uses: arduino/setup-task@v1
333+
with:
334+
repo-token: ${{ secrets.GITHUB_TOKEN }}
335+
version: 3.x
336+
328337
- name: Package
329338
env:
330339
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)