diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abf09d7..1e689bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: outputs: version: ${{ steps.promptfoo.outputs.version }} steps: - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 with: node-version: "24" package-manager-cache: false @@ -160,7 +160,7 @@ jobs: with: persist-credentials: false - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 with: node-version: ${{ matrix.node-version }} package-manager-cache: false @@ -228,7 +228,7 @@ jobs: with: persist-credentials: false - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 with: node-version: ${{ matrix.node-version }} package-manager-cache: false diff --git a/tests/test_instructions.py b/tests/test_instructions.py index e60d95d..c6ec6a0 100644 --- a/tests/test_instructions.py +++ b/tests/test_instructions.py @@ -102,7 +102,8 @@ def test_github_actions_instructions(self) -> None: instructions = get_installation_instructions(env) - assert "actions/setup-node" in instructions + assert "actions/setup-node@v7" in instructions + assert "node-version: '24'" in instructions assert "GITHUB" in instructions.upper() def test_gitlab_ci_instructions(self) -> None: