From 0252d7291ce8aed11848718eab3516c92f4c39a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Thu, 3 Nov 2022 07:03:40 +0100 Subject: [PATCH] CI: Upgrade `actions/setup-python` to v4 Just as the actions/checkout the only breaking change is a internal one related to upgrading from node 12 to node 16. --- .github/workflows/cmake.yml | 4 +++- .github/workflows/libjs-test262.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 74e411e8038..b9cd0c256ba 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -33,7 +33,9 @@ jobs: steps: - uses: actions/checkout@v2 # Set default Python to python 3.x, and set Python path such that pip install works properly - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 + with: + python-version: '3.x' # === OS SETUP === diff --git a/.github/workflows/libjs-test262.yml b/.github/workflows/libjs-test262.yml index 97f8f8ff3ba..36c5a185b52 100644 --- a/.github/workflows/libjs-test262.yml +++ b/.github/workflows/libjs-test262.yml @@ -57,7 +57,9 @@ jobs: ) - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 + with: + python-version: '3.x' - name: Install Python dependencies # The setup-python action set default python to python3.x. Note that we are not using system python here.