Skip to content

Commit

Permalink
Migrate CI/CD to ubuntu-24.04 and test docker images to latest (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinawari authored Jan 22, 2025
1 parent f0ee67f commit 84d78a1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# Code quality checks.
pre-commit:
name: Run pre-commit
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -38,7 +38,7 @@ jobs:
- pre-commit
permissions:
security-events: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -64,7 +64,7 @@ jobs:
name: Run tests
needs:
- pre-commit
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -87,7 +87,7 @@ jobs:
name: Build package
needs:
- run-tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
matrix:
os:
- macos-latest
- ubuntu-22.04
- ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
name: Test Docker image
needs:
- run-tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -207,13 +207,13 @@ jobs:
name: Test Docker ${{ matrix.docker-version }} image build
needs:
- run-tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
docker-version:
- '24.0.6-1~ubuntu.22.04~jammy'
- '23.0.6-1~ubuntu.22.04~jammy'
- '20.10.13~3-0~ubuntu-jammy'
- '27.5.0-1~ubuntu.24.04~noble'
- '26.1.4-1~ubuntu.24.04~noble'
- '26.0.0-1~ubuntu.24.04~noble'
steps:
- name: Uninstall pre-installed Docker
run: |
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
needs:
- test-docker-image
- test-docker-image-build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
needs:
- test-docker-image
- test-docker-image-build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Get package artifacts
uses: actions/download-artifact@v4
Expand All @@ -349,7 +349,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Get package artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 84d78a1

Please sign in to comment.