Repository navigation
ci: pin ubuntu runner to 24.04 in workflows #12292
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ permissions: | |
|
|
||
| jobs: | ||
| audit: | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This task is unrelated with host. |
||
| steps: | ||
| - uses: actions/checkout@v7.0.1 | ||
| with: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ concurrency: | |
| jobs: | ||
| detects-benchmarks: | ||
| name: Detect changes on crates | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The most common consumers are ubuntu 26.* at here. |
||
| outputs: | ||
| package: ${{ steps.detect.outputs.package }} | ||
| steps: | ||
|
|
@@ -67,7 +67,7 @@ jobs: | |
| needs: detects-benchmarks | ||
| if: needs.detects-benchmarks.outputs.package != '[]' | ||
| name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }} (CodSpeed) | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 90 | ||
| env: | ||
| CARGO_INCREMENTAL: 0 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ permissions: | |
|
|
||
| jobs: | ||
| check: | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This task is unrelated with host. |
||
| steps: | ||
| - uses: actions/checkout@v7.0.1 | ||
| with: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| job: | ||
| - { os: ubuntu-latest , features: feat_os_unix } | ||
| - { os: ubuntu-24.04 , features: feat_os_unix } | ||
| steps: | ||
| - uses: actions/checkout@v7.0.1 | ||
| with: | ||
|
|
@@ -71,11 +71,11 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| job: | ||
| - { os: ubuntu-latest , features: all , workspace: true } | ||
| - { os: ubuntu-24.04 , features: all , workspace: true } | ||
| - { os: macos-latest , features: all , workspace: true } | ||
| - { os: windows-latest , features: feat_os_windows } | ||
| - { os: ubuntu-latest , features: feat_wasm , target: wasm32-wasip1 } | ||
| - { os: ubuntu-latest , features: feat_wasm , target: wasm32-wasip2 } | ||
| - { os: ubuntu-24.04 , features: feat_wasm , target: wasm32-wasip1 } | ||
| - { os: ubuntu-24.04 , features: feat_wasm , target: wasm32-wasip2 } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Host is unrelated for this target. |
||
| steps: | ||
| - uses: actions/checkout@v7.0.1 | ||
| with: | ||
|
|
@@ -158,7 +158,7 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| job: | ||
| - { os: ubuntu-latest , features: feat_os_unix } | ||
| - { os: ubuntu-24.04 , features: feat_os_unix } | ||
| steps: | ||
| - uses: actions/checkout@v7.0.1 | ||
| with: | ||
|
|
@@ -195,7 +195,7 @@ jobs: | |
|
|
||
| style_empty_assertions: | ||
| name: Style/Empty assertions check | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v7.0.1 | ||
|
|
@@ -211,7 +211,7 @@ jobs: | |
|
|
||
| python: | ||
| name: Style/Python | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Clone repository | ||
| uses: actions/checkout@v7.0.1 | ||
|
|
@@ -235,7 +235,7 @@ jobs: | |
|
|
||
| pre_commit: | ||
| name: Pre-commit hooks | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v7.0.1 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The most common target is ubuntu 26.* at here.