Skip to content

Commit b9fcc5a

Browse files
committed
use latest Ubuntu for CI jobs now that GitHub deprecated 20.04
1 parent ba49ba0 commit b9fcc5a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/CICD.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
ensure_cargo_fmt:
5555
name: Ensure 'cargo fmt' has been run
56-
runs-on: ubuntu-20.04
56+
runs-on: ubuntu-latest
5757
steps:
5858
- uses: dtolnay/rust-toolchain@stable
5959
with:
@@ -63,7 +63,7 @@ jobs:
6363

6464
min_version:
6565
name: Minimum supported rust version
66-
runs-on: ubuntu-20.04
66+
runs-on: ubuntu-latest
6767
needs: crate_metadata
6868
steps:
6969
- name: Checkout source code
@@ -81,7 +81,7 @@ jobs:
8181

8282
license_checks:
8383
name: License checks
84-
runs-on: ubuntu-20.04
84+
runs-on: ubuntu-latest
8585
steps:
8686
- uses: actions/checkout@v4
8787
with:
@@ -90,7 +90,7 @@ jobs:
9090

9191
test_with_new_syntaxes_and_themes:
9292
name: Run tests with updated syntaxes and themes
93-
runs-on: ubuntu-20.04
93+
runs-on: ubuntu-latest
9494
steps:
9595
- name: Git checkout
9696
uses: actions/checkout@v4
@@ -119,7 +119,7 @@ jobs:
119119

120120
test_with_system_config:
121121
name: Run tests with system wide configuration
122-
runs-on: ubuntu-20.04
122+
runs-on: ubuntu-latest
123123
steps:
124124
- name: Git checkout
125125
uses: actions/checkout@v4
@@ -135,7 +135,7 @@ jobs:
135135

136136
documentation:
137137
name: Documentation
138-
runs-on: ubuntu-20.04
138+
runs-on: ubuntu-latest
139139
steps:
140140
- name: Git checkout
141141
uses: actions/checkout@v4
@@ -164,18 +164,18 @@ jobs:
164164
fail-fast: false
165165
matrix:
166166
job:
167-
- { target: aarch64-unknown-linux-musl , os: ubuntu-20.04, dpkg_arch: arm64, use-cross: true }
168-
- { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04, dpkg_arch: arm64, use-cross: true }
169-
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-20.04, dpkg_arch: armhf, use-cross: true }
170-
- { target: arm-unknown-linux-musleabihf, os: ubuntu-20.04, dpkg_arch: musl-linux-armhf, use-cross: true }
167+
- { target: aarch64-unknown-linux-musl , os: ubuntu-latest, dpkg_arch: arm64, use-cross: true }
168+
- { target: aarch64-unknown-linux-gnu , os: ubuntu-latest, dpkg_arch: arm64, use-cross: true }
169+
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-latest, dpkg_arch: armhf, use-cross: true }
170+
- { target: arm-unknown-linux-musleabihf, os: ubuntu-latest, dpkg_arch: musl-linux-armhf, use-cross: true }
171171
- { target: i686-pc-windows-msvc , os: windows-2019, }
172-
- { target: i686-unknown-linux-gnu , os: ubuntu-20.04, dpkg_arch: i686, use-cross: true }
173-
- { target: i686-unknown-linux-musl , os: ubuntu-20.04, dpkg_arch: musl-linux-i686, use-cross: true }
172+
- { target: i686-unknown-linux-gnu , os: ubuntu-latest, dpkg_arch: i686, use-cross: true }
173+
- { target: i686-unknown-linux-musl , os: ubuntu-latest, dpkg_arch: musl-linux-i686, use-cross: true }
174174
- { target: x86_64-apple-darwin , os: macos-13, }
175175
- { target: aarch64-apple-darwin , os: macos-14, }
176176
- { target: x86_64-pc-windows-msvc , os: windows-2019, }
177-
- { target: x86_64-unknown-linux-gnu , os: ubuntu-20.04, dpkg_arch: amd64, use-cross: true }
178-
- { target: x86_64-unknown-linux-musl , os: ubuntu-20.04, dpkg_arch: musl-linux-amd64, use-cross: true }
177+
- { target: x86_64-unknown-linux-gnu , os: ubuntu-latest, dpkg_arch: amd64, use-cross: true }
178+
- { target: x86_64-unknown-linux-musl , os: ubuntu-latest, dpkg_arch: musl-linux-amd64, use-cross: true }
179179
env:
180180
BUILD_CMD: cargo
181181
steps:

0 commit comments

Comments
 (0)