mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
ci: use ubuntu 24
instead of latest
This commit is contained in:
parent
3bf62ccc10
commit
b731c36faa
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
# If you want to modify CI jobs, take a look at src/ci/github-actions/jobs.yml.
|
# If you want to modify CI jobs, take a look at src/ci/github-actions/jobs.yml.
|
||||||
calculate_matrix:
|
calculate_matrix:
|
||||||
name: Calculate job matrix
|
name: Calculate job matrix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
outputs:
|
outputs:
|
||||||
jobs: ${{ steps.jobs.outputs.jobs }}
|
jobs: ${{ steps.jobs.outputs.jobs }}
|
||||||
run_type: ${{ steps.jobs.outputs.run_type }}
|
run_type: ${{ steps.jobs.outputs.run_type }}
|
||||||
@ -243,7 +243,7 @@ jobs:
|
|||||||
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).
|
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).
|
||||||
outcome:
|
outcome:
|
||||||
name: bors build finished
|
name: bors build finished
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
needs: [ calculate_matrix, job ]
|
needs: [ calculate_matrix, job ]
|
||||||
# !cancelled() executes the job regardless of whether the previous jobs passed or failed
|
# !cancelled() executes the job regardless of whether the previous jobs passed or failed
|
||||||
if: ${{ !cancelled() && contains(fromJSON('["auto", "try"]'), needs.calculate_matrix.outputs.run_type) }}
|
if: ${{ !cancelled() && contains(fromJSON('["auto", "try"]'), needs.calculate_matrix.outputs.run_type) }}
|
||||||
|
6
.github/workflows/dependencies.yml
vendored
6
.github/workflows/dependencies.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
not-waiting-on-bors:
|
not-waiting-on-bors:
|
||||||
if: github.repository_owner == 'rust-lang'
|
if: github.repository_owner == 'rust-lang'
|
||||||
name: skip if S-waiting-on-bors
|
name: skip if S-waiting-on-bors
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- env:
|
- env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
if: github.repository_owner == 'rust-lang'
|
if: github.repository_owner == 'rust-lang'
|
||||||
name: update dependencies
|
name: update dependencies
|
||||||
needs: not-waiting-on-bors
|
needs: not-waiting-on-bors
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: checkout the source code
|
- name: checkout the source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -94,7 +94,7 @@ jobs:
|
|||||||
if: github.repository_owner == 'rust-lang'
|
if: github.repository_owner == 'rust-lang'
|
||||||
name: amend PR
|
name: amend PR
|
||||||
needs: update
|
needs: update
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
Loading…
Reference in New Issue
Block a user