ci: Update GitHub workflows to use ubuntu-24.04 instead of ubuntu-latest
This commit is contained in:
parent
d96d0f72b5
commit
2a6cbda304
|
@ -7,7 +7,7 @@ name: Code coverage with llvm-cov
|
||||||
jobs:
|
jobs:
|
||||||
Coveralls:
|
Coveralls:
|
||||||
name: Code coverage - stable toolchain
|
name: Code coverage - stable toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -11,7 +11,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
fuzz:
|
fuzz:
|
||||||
if: ${{ !github.event.act }}
|
if: ${{ !github.event.act }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
||||||
verify-execution:
|
verify-execution:
|
||||||
if: ${{ !github.event.act }}
|
if: ${{ !github.event.act }}
|
||||||
needs: fuzz
|
needs: fuzz
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
|
|
|
@ -5,7 +5,7 @@ on:
|
||||||
workflow_dispatch: # allows manual triggering
|
workflow_dispatch: # allows manual triggering
|
||||||
jobs:
|
jobs:
|
||||||
cargo-mutants:
|
cargo-mutants:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: taiki-e/install-action@v2
|
- uses: taiki-e/install-action@v2
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
name: Nightly rustfmt
|
name: Nightly rustfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@nightly
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
name: Update cargo-semver-checks
|
name: Update cargo-semver-checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Update semver-checks to use latest crates.io published version
|
- name: Update semver-checks to use latest crates.io published version
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
name: Update nightly rustc
|
name: Update nightly rustc
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@nightly
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
name: Update stable rustc
|
name: Update stable rustc
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout master
|
- name: Checkout master
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
@ -11,7 +11,7 @@ name: Miri
|
||||||
jobs:
|
jobs:
|
||||||
Miri:
|
Miri:
|
||||||
name: Miri
|
name: Miri
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -12,7 +12,7 @@ name: Release
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Release - dry-run
|
name: Release - dry-run
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Crate
|
- name: Checkout Crate
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
@ -10,7 +10,7 @@ name: Continuous integration
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Prepare:
|
Prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
outputs:
|
outputs:
|
||||||
nightly_version: ${{ steps.read_toolchain.outputs.nightly_version }}
|
nightly_version: ${{ steps.read_toolchain.outputs.nightly_version }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
|
|
||||||
Stable: # 2 jobs, one per manifest.
|
Stable: # 2 jobs, one per manifest.
|
||||||
name: Test - stable toolchain
|
name: Test - stable toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
Nightly: # 2 jobs, one per manifest.
|
Nightly: # 2 jobs, one per manifest.
|
||||||
name: Test - nightly toolchain
|
name: Test - nightly toolchain
|
||||||
needs: Prepare
|
needs: Prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
|
|
||||||
MSRV: # 2 jobs, one per manifest.
|
MSRV: # 2 jobs, one per manifest.
|
||||||
name: Test - MSRV toolchain
|
name: Test - MSRV toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
Lint:
|
Lint:
|
||||||
name: Lint - nightly toolchain
|
name: Lint - nightly toolchain
|
||||||
needs: Prepare
|
needs: Prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -124,7 +124,7 @@ jobs:
|
||||||
|
|
||||||
Docs:
|
Docs:
|
||||||
name: Docs - stable toolchain
|
name: Docs - stable toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -148,7 +148,7 @@ jobs:
|
||||||
Docsrs:
|
Docsrs:
|
||||||
name: Docs - nightly toolchain
|
name: Docs - nightly toolchain
|
||||||
needs: Prepare
|
needs: Prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -174,7 +174,7 @@ jobs:
|
||||||
Bench:
|
Bench:
|
||||||
name: Bench - nightly toolchain
|
name: Bench - nightly toolchain
|
||||||
needs: Prepare
|
needs: Prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -199,7 +199,7 @@ jobs:
|
||||||
|
|
||||||
Arch32bit:
|
Arch32bit:
|
||||||
name: Test 32-bit version
|
name: Test 32-bit version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repo"
|
- name: "Checkout repo"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -217,7 +217,7 @@ jobs:
|
||||||
Cross:
|
Cross:
|
||||||
name: Cross test - stable toolchain
|
name: Cross test - stable toolchain
|
||||||
if: ${{ !github.event.act }}
|
if: ${{ !github.event.act }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repo"
|
- name: "Checkout repo"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -233,7 +233,7 @@ jobs:
|
||||||
Embedded:
|
Embedded:
|
||||||
name: Embedded - nightly toolchain
|
name: Embedded - nightly toolchain
|
||||||
needs: Prepare
|
needs: Prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: "-C link-arg=-Tlink.x"
|
RUSTFLAGS: "-C link-arg=-Tlink.x"
|
||||||
CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine mps2-an385 -nographic -semihosting-config enable=on,target=native -kernel"
|
CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine mps2-an385 -nographic -semihosting-config enable=on,target=native -kernel"
|
||||||
|
@ -261,7 +261,7 @@ jobs:
|
||||||
ASAN: # hashes crate only.
|
ASAN: # hashes crate only.
|
||||||
name: ASAN - nightly toolchain
|
name: ASAN - nightly toolchain
|
||||||
needs: Prepare
|
needs: Prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -282,7 +282,7 @@ jobs:
|
||||||
|
|
||||||
WASM: # hashes crate only.
|
WASM: # hashes crate only.
|
||||||
name: WASM - stable toolchain
|
name: WASM - stable toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
# Note we do not use the recent lock file for wasm testing.
|
# Note we do not use the recent lock file for wasm testing.
|
||||||
|
|
|
@ -8,7 +8,7 @@ name: Check semver breaks - Label and Comment PR
|
||||||
jobs:
|
jobs:
|
||||||
Download:
|
Download:
|
||||||
name: Download, Unzip and Add Labels/Comments
|
name: Download, Unzip and Add Labels/Comments
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
|
@ -6,7 +6,7 @@ name: Check semver breaks
|
||||||
jobs:
|
jobs:
|
||||||
PR:
|
PR:
|
||||||
name: PR Semver - stable toolchain
|
name: PR Semver - stable toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
|
|
||||||
Feature:
|
Feature:
|
||||||
name: Non additive cargo features - stable toolchain
|
name: Non additive cargo features - stable toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
name: Shellcheck
|
name: Shellcheck
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
|
|
|
@ -57,7 +57,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
fuzz:
|
fuzz:
|
||||||
if: \${{ !github.event.act }}
|
if: \${{ !github.event.act }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -97,7 +97,7 @@ $(for name in $(listTargetNames); do echo " $name,"; done)
|
||||||
verify-execution:
|
verify-execution:
|
||||||
if: \${{ !github.event.act }}
|
if: \${{ !github.event.act }}
|
||||||
needs: fuzz
|
needs: fuzz
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
|
|
Loading…
Reference in New Issue