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 d584537 commit be60a0c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
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

test-i586:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
include:
Expand All @@ -102,15 +102,15 @@ jobs:
- run: ./ci/test-i586.sh

build-no_std:
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 -t x86_64-unknown-none
- run: ./ci/build-no_std.sh

package-crate:
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 All @@ -40,7 +40,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 All @@ -59,7 +59,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 be60a0c

Please sign in to comment.