This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new b48857ec6d Upgrade build to Python 3.9 (#1116)
b48857ec6d is described below

commit b48857ec6de27da766bdc7623e3aaf34d9ca6ee0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jan 25 08:01:50 2025 +0100

    Upgrade build to Python 3.9 (#1116)
---
 .github/workflows/build.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 25174c9f65..8343e0d4e4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -65,7 +65,7 @@ jobs:
       - name: 🐍 Setup Python
         uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0  # 
v4.6.1
         with:
-          python-version: '3.7'
+          python-version: '3.9'
       - name: ❤️  Install Node 16
         uses: actions/[email protected]  # v3.3.0
         with:
@@ -88,9 +88,10 @@ jobs:
           mkdir -p /mnt/airflow-site/.cache/pre-commit
           sudo chmod -R 777 /mnt/airflow-site/.cache/pre-commit
       - name: 🔎 Lint
-        uses: 
apache/airflow-pre-commit-action@0764670bf370aab253130d534e1eda7ff497dc60  # 
v2.0.0
-        env:
-          PRE_COMMIT_HOME: /mnt/airflow-site/.cache/pre-commit
+        run: |
+          pip install pre-commit
+          pip install pre-commit-uv
+          pre-commit run --all-files
       - name: 🗂 Checkout gh-pages branch with minimum depth
         uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # 
3.5.3
         if: ${{ github.event_name == 'push' }}

Reply via email to