Skip to content

Commit 29aa87f

Browse files
Update Task installation method in workflows to use official setup action
1 parent aa6ec13 commit 29aa87f

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,14 @@ This keeps job output focused, preserves parallelism, and still centralizes the
5555
- check out the repo
5656
- install Python 3.12
5757
- install `uv` with `astral-sh/setup-uv`
58-
- install Task with `arduino/setup-task`
58+
- install Task with `go-task/setup-task`
5959
- run `uv sync`
6060
- execute the relevant Taskfile task
6161

62+
Task is installed through the official setup action rather than the
63+
`taskfile.dev` shell installer. The workflow pins the Task binary version so
64+
CI does not depend on resolving the latest GitHub release during each run.
65+
6266
### Local Equivalent
6367

6468
- Full parity check: `task check`

.github/workflows/quality.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
- uses: astral-sh/setup-uv@v8.1.0
4949

5050
- name: Install Task
51-
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b "$HOME/.local/bin"
52-
53-
- name: Add Task to PATH
54-
run: echo "$HOME/.local/bin" >> "$GITHUB_PATH"
51+
uses: go-task/setup-task@v2
52+
with:
53+
version: 3.50.0
54+
repo-token: ${{ secrets.GITHUB_TOKEN }}
5555

5656
- name: Sync Python tooling
5757
run: uv sync

0 commit comments

Comments
 (0)