From 4d958dedbd5db627b4f5a0cf60e7124fbffab1c3 Mon Sep 17 00:00:00 2001 From: Philip Langer Date: Wed, 1 Nov 2023 17:27:17 +0100 Subject: [PATCH] fix(ci): pin Python 3.11 for playwright workflow Same problem and same solution as in https://github.com/eclipse-theia/theia/issues/13008. Contributed on behalf of STMicroelectronics --- .github/workflows/main.yml | 4 ++-- .github/workflows/performance.yml | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9fa590b4..7fc4fd16c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,10 +28,10 @@ jobs: node-version: "16.x" registry-url: "https://registry.npmjs.org" - - name: Use Python 3.x + - name: Use Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.11" - name: Build shell: bash diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 8bf7c0adf..26f5c2350 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -2,9 +2,6 @@ name: Performance on: workflow_dispatch: - pull_request: # FIXME JUST FOR TESTING - branches: - - main schedule: - cron: "0 5 * * *" # Runs every day at 5am: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule @@ -21,10 +18,10 @@ jobs: with: node-version: "16.x" registry-url: "https://registry.npmjs.org" - - name: Use Python 3.x + - name: Use Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.11" - name: Build shell: bash run: yarn