Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use Ubuntu 24.04 #205

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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 @@ -29,7 +29,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 @@ -39,7 +39,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 @@ -53,23 +53,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 @@ -82,7 +82,7 @@ jobs:
- run: ./ci/build-and-test.sh

package-crates:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand All @@ -96,7 +96,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 @@ -120,7 +120,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 Down
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
check-conventional-commits:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
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 @@ -52,7 +52,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 @@ -83,7 +83,7 @@ jobs:

publish-crates:
needs: create-gh-release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand Down