Skip to content

Commit 171c914

Browse files
committed
Update workflow runners
This change updates the workflow runners to move away from the soon to be deprecated `ubuntu-20.04` image and use `ubuntu-latest` instead. Ref: actions/runner-images#11101
1 parent d491d7b commit 171c914

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
matrix:
4747
include:
4848
- target: x86_64-unknown-linux-gnu
49-
os: ubuntu-20.04
49+
os: ubuntu-latest
5050
- target: aarch64-unknown-linux-gnu
5151
os: [self-hosted, linux, arm64]
5252
- target: x86_64-apple-darwin

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
rustfmt:
1717
if: github.event_name != 'schedule'
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout the repo
2121
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
include:
35-
- os: ubuntu-20.04
35+
- os: ubuntu-latest
3636
flags: --all-features
3737
- os: macos-14
3838
flags: --all-features
@@ -65,7 +65,7 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
os: [ubuntu-20.04, macos-14]
68+
os: [ubuntu-latest, macos-14]
6969
include:
7070
- os: windows-latest
7171
flags: --no-default-features -F extensions
@@ -96,7 +96,7 @@ jobs:
9696
strategy:
9797
fail-fast: false
9898
matrix:
99-
os: [ubuntu-20.04, macos-14, windows-latest]
99+
os: [ubuntu-latest, macos-14, windows-latest]
100100
runs-on: ${{ matrix.os }}
101101
steps:
102102
- name: Checkout the repo
@@ -127,7 +127,7 @@ jobs:
127127
strategy:
128128
fail-fast: false
129129
matrix:
130-
os: [ubuntu-20.04, macos-14]
130+
os: [ubuntu-latest, macos-14]
131131
runs-on: ${{ matrix.os }}
132132
steps:
133133
- name: Checkout the repo

0 commit comments

Comments
 (0)