From f8a077328675c84efe3c0be996771cdc535bbe45 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 12 Nov 2022 04:43:57 +0100 Subject: [PATCH 1/4] [run python] Upgrade GitHub Actions --- .github/workflows/ci-python.yml | 42 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index b6779fedf5d55..e130758c6cf9b 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.10 - name: Install dependencies @@ -46,9 +46,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.10 - name: Install dependencies @@ -66,9 +66,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.9 - name: Install dependencies @@ -88,9 +88,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Bazel artifacts - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cache/bazel-disk @@ -99,11 +99,11 @@ jobs: restore-keys: | ${{ runner.os }}-bazel-python-unit-tests- - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.10 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: '11' - name: Run unit tests @@ -117,9 +117,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Bazel artifacts - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cache/bazel-disk @@ -131,7 +131,7 @@ jobs: - name: Setup Fluxbox run: sudo apt-get -y install fluxbox - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.10 - name: Setup Chrome @@ -154,9 +154,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Bazel artifacts - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cache/bazel-disk @@ -168,11 +168,11 @@ jobs: - name: Setup Fluxbox run: sudo apt-get -y install fluxbox - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.10 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: '11' - name: Setup Firefox @@ -197,9 +197,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Bazel artifacts - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cache/bazel-disk @@ -211,11 +211,11 @@ jobs: - name: Setup Fluxbox run: sudo apt-get -y install fluxbox - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.7.10 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: '11' - name: Setup Firefox From 8dbe39a93eb3e3eb7d27dece00b5968d0868e3af Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 12 Nov 2022 05:07:38 +0100 Subject: [PATCH 2/4] [py] [run python] Upgrade GitHub Actions [py] [run python] Upgrade GitHub Actions --- .github/workflows/should-workflow-run.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/should-workflow-run.yml b/.github/workflows/should-workflow-run.yml index d22e755381333..fe6ea6b546570 100644 --- a/.github/workflows/should-workflow-run.yml +++ b/.github/workflows/should-workflow-run.yml @@ -25,11 +25,11 @@ jobs: result: ${{ steps.check-bazel-target-prefix.outputs.run-workflow }} steps: - name: Checkout source tree - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 50 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: '11' - name: Copy bazelrc From fb2a1129ab6cab2b0ec17400287a72e65aa32b49 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 12 Nov 2022 05:19:59 +0100 Subject: [PATCH 3/4] Java distribution: 'adopt' --- .github/workflows/should-workflow-run.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/should-workflow-run.yml b/.github/workflows/should-workflow-run.yml index fe6ea6b546570..d058867808b43 100644 --- a/.github/workflows/should-workflow-run.yml +++ b/.github/workflows/should-workflow-run.yml @@ -32,6 +32,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: '11' + distribution: 'adopt' - name: Copy bazelrc run: cp .github/.bazelrc.local . shell: bash From 7b0c82c1a8ce1ace223f282c35c4e1f0b10f941c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 12 Nov 2022 05:25:20 +0100 Subject: [PATCH 4/4] //py Java distribution: 'adopt' //py Java distribution: 'adopt' --- .github/workflows/ci-python.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index e130758c6cf9b..21a221b8a9081 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -106,6 +106,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: '11' + distribution: 'adopt' - name: Run unit tests uses: ./.github/actions/bazel with: @@ -175,6 +176,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: '11' + distribution: 'adopt' - name: Setup Firefox uses: abhi1693/setup-browser@v0.3.4 with: @@ -218,6 +220,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: '11' + distribution: 'adopt' - name: Setup Firefox uses: abhi1693/setup-browser@v0.3.4 with: