Skip to content

Commit

Permalink
ci: use ubuntu-24.04 image
Browse files Browse the repository at this point in the history
Explicitly move to ubuntu-24.04 images, which will soon become ubuntu-latest for github
actions.

Ref: actions/runner-images#10636
Ref: https://github.com/actions/runner-images/blob/main/README.md
  • Loading branch information
jpgrayson committed Jan 18, 2025
1 parent 20fbdcc commit 8b78e31
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
release:
name: Release
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -104,10 +104,10 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04
profile: dev
toolchain: stable
- os: ubuntu-latest
- os: ubuntu-24.04
profile: dev
toolchain: nightly
- os: macos-latest
Expand All @@ -125,7 +125,7 @@ jobs:
run: |
cargo --locked build --profile ${{ matrix.profile }}
- name: Install Test Dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: |
sudo apt-get update
sudo apt-get install quilt gnupg2 libio-pty-perl
Expand All @@ -152,7 +152,7 @@ jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -166,7 +166,7 @@ jobs:
clippy:
name: Clippy Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -181,7 +181,7 @@ jobs:
rustfmt:
name: Format Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -196,7 +196,7 @@ jobs:
api-docs:
name: API Documentation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
github-release:
name: GitHub Release
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [release, windows-build]
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 8b78e31

Please sign in to comment.