Skip to content

Commit

Permalink
Merge pull request #13152 from notatallshaw/ubuntu-22.04
Browse files Browse the repository at this point in the history
Switch to ubuntu-22.04 for github workflow
  • Loading branch information
notatallshaw authored Jan 10, 2025
2 parents ffbf6f0 + c93a9c0 commit 285ff72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
docs:
name: docs
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
- run: nox -s docs

determine-changes:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
tests: ${{ steps.filter.outputs.tests }}
vendoring: ${{ steps.filter.outputs.vendoring }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:

packaging:
name: packaging
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -83,7 +83,7 @@ jobs:

vendoring:
name: vendoring
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

needs: [determine-changes]
if: >-
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-13, macos-latest]
os: [ubuntu-22.04, macos-13, macos-latest]
python:
- "3.8"
- "3.9"
Expand All @@ -129,7 +129,7 @@ jobs:
allow-prereleases: true

- name: Install Ubuntu dependencies
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install bzr
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
tests-zipapp:
name: tests / zipapp
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

needs: [packaging, determine-changes]
if: >-
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
- tests-zipapp
- vendoring

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
1 change: 1 addition & 0 deletions news/13152.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Switch to ubuntu-22.04 for github workflow.

0 comments on commit 285ff72

Please sign in to comment.