Skip to content

Commit 02fc5ea

Browse files
committed
fix(ci): Replace npm install -g @go-task/cli with go-task/setup-task action to eliminate npm supply-chain risk.
1 parent c03806a commit 02fc5ea

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/code-linting-checks.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ jobs:
3434
python-version: "3.11"
3535

3636
- name: "Install task"
37-
shell: "bash"
38-
run: "npm install -g @go-task/cli"
37+
uses: "go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44" # v2.0.0
38+
with:
39+
version: "3.48.0"
3940

4041
- name: "Install uv"
4142
shell: "bash"

.github/workflows/unit-tests.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ jobs:
3939
python-version: "3.11"
4040

4141
- name: "Install task"
42-
shell: "bash"
43-
run: "npm install -g @go-task/cli"
42+
uses: "go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44" # v2.0.0
43+
with:
44+
version: "3.48.0"
4445

4546
- if: "'macos-14' == matrix.os"
4647
name: "Install coreutils (for md5sum)"

0 commit comments

Comments
 (0)