]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
ci: Bump dependencies in github actions 3505/head
authorBen Darnell <ben@bendarnell.com>
Thu, 22 May 2025 20:27:48 +0000 (16:27 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 22 May 2025 20:39:53 +0000 (16:39 -0400)
.github/workflows/build.yml
.github/workflows/test.yml

index 6dd9306b3e807ae87641e7b7eed1a446892549b2..3e3894a389eaeeda5e69ad2346b294911bb289f0 100644 (file)
@@ -25,7 +25,7 @@ env:
 jobs:
   build_sdist:
     name: Build sdist
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v4
         with:
@@ -35,6 +35,8 @@ jobs:
         with:
           python-version: ${{ env.python-version }}
 
+      - name: Install dependencies
+        run: python -m pip install setuptools
       - name: Check metadata
         run: "python setup.py check"
       - name: Build sdist
@@ -51,7 +53,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2022, macos-15]
+        os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-15]
 
     steps:
       - uses: actions/checkout@v4
@@ -63,7 +65,7 @@ jobs:
           python-version: ${{ env.python-version }}
 
       - name: Build wheels
-        uses: pypa/cibuildwheel@v2.22
+        uses: pypa/cibuildwheel@v2.23
 
       - name: Audit ABI3 compliance
         # This may be moved into cibuildwheel itself in the future. See
@@ -78,7 +80,7 @@ jobs:
   upload_pypi_test:
     name: Upload to PyPI (test)
     needs: [build_wheels, build_sdist]
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     if: github.repository == 'tornadoweb/tornado' && github.event_name == 'workflow_dispatch'
     permissions:
       # This permission is required for pypi's "trusted publisher" feature
@@ -98,7 +100,7 @@ jobs:
   upload_pypi:
     name: Upload to PyPI (prod)
     needs: [build_wheels, build_sdist]
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     if: github.repository == 'tornadoweb/tornado' && github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
     permissions:
       # This permission is required for pypi's "trusted publisher" feature
index f73628044122d77003004e16e8b93fe7875b5f0d..3f65228c5858a368e07d72f105ddc688d1ec6013 100644 (file)
@@ -17,7 +17,7 @@ jobs:
   # first-time contributors).
   test_quick:
     name: Run quick tests
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v4
         with:
@@ -36,7 +36,7 @@ jobs:
   test_tox:
     name: Run full tests
     needs: test_quick
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         include:
@@ -91,7 +91,7 @@ jobs:
     # enough that we'll break it if we don't test it in CI.
     name: Run windows tests
     needs: test_quick
-    runs-on: windows-2022
+    runs-on: windows-2025
     steps:
       - uses: actions/checkout@v4
         with:
@@ -106,13 +106,13 @@ jobs:
 
   zizmor:
     name: Analyze action configs with zizmor
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     needs: test_quick
     steps:
       - uses: actions/checkout@v4
         with:
           persist-credentials: false
-      - uses: astral-sh/setup-uv@v5
+      - uses: astral-sh/setup-uv@v6
         name: Install uv
       - name: Run zizmor
         run: uvx zizmor .github/workflows
@@ -127,14 +127,14 @@ jobs:
     # test_tox with test_cibw would entail either increasing test runtime or reducing
     # test coverage.
     name: Test with cibuildwheel
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     needs: test_quick
     steps:
       - uses: actions/checkout@v4
         with:
           persist-credentials: false
       - name: Run cibuildwheel
-        uses: pypa/cibuildwheel@v2.22
+        uses: pypa/cibuildwheel@v2.23
         env:
           # For speed, we only build one python version and one arch. We throw away the wheels
           # built here; the real build is defined in build.yml.