Skip to content

Commit

Permalink
ci: use Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardosm committed Dec 7, 2024
1 parent 1f6d41d commit f5adc83
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# '!cancelled()' is needed because GitHub treats a skipped job (due to a
# failed dependency) a success.
if: ${{ !cancelled() }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Report status
env:
Expand All @@ -30,7 +30,7 @@ jobs:
run: jq --exit-status 'all(.result == "success")' <<< "$NEEDS_JSON"

lint-aux:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install lint utilities
Expand All @@ -40,7 +40,7 @@ jobs:
- run: ./ci/lint-aux.sh

extract-changelog:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand All @@ -54,23 +54,23 @@ jobs:
if-no-files-found: error

rustfmt:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: ./ci/install-rust.sh stable --profile minimal -c rustfmt
- run: cargo fmt --all -- --check

clippy:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: ./ci/install-rust.sh stable --profile minimal -c clippy
- run: ./ci/clippy.sh

build-and-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
include:
Expand All @@ -83,7 +83,7 @@ jobs:
- run: ./ci/build-and-test.sh

package-crate:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand All @@ -97,7 +97,7 @@ jobs:
if-no-files-found: error

build-dist-linux:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
DOCKER_IMAGE: quay.io/pypa/manylinux2014_x86_64
steps:
Expand All @@ -121,7 +121,7 @@ jobs:
if-no-files-found: error

build-dist-windows:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
DOCKER_IMAGE: debian:12-slim
steps:
Expand All @@ -145,7 +145,7 @@ jobs:
if-no-files-found: error

build-dist-book:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
get-version:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
Expand All @@ -18,7 +18,7 @@ jobs:
run: ./ci/get-release-version.sh

get-ci-artifacts:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Download artifacts
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- get-ci-artifacts
permissions:
contents: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Download version-changelog artifact
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
publish-crate:
needs: create-gh-release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand Down

0 comments on commit f5adc83

Please sign in to comment.