Skip to content

Commit 62350f5

Browse files
committed
Use ubuntu-24.04 instead of latest
1 parent 762c530 commit 62350f5

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/verify.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
setup:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2626
steps:
2727
- uses: actions/checkout@v4
2828

@@ -64,7 +64,7 @@ jobs:
6464
retention-days: 1
6565

6666
verify:
67-
runs-on: ubuntu-latest
67+
runs-on: ubuntu-24.04
6868
needs: [setup]
6969
env:
7070
SPLIT_SIZE: "20"
@@ -75,17 +75,6 @@ jobs:
7575
["00", "01", "02", "03", "04", "05", "06", "07", "08", "09",
7676
"10", "11", "12", "13", "14", "15", "16", "17", "18", "19"]
7777
steps:
78-
- name: Install GCC 13
79-
run: |
80-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
81-
sudo apt-get update
82-
sudo apt-get install -y g++-14
83-
- name: Set GCC 14 as default
84-
run: |
85-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60
86-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 60
87-
- name: Verify GCC version
88-
run: g++ --version
8978
- uses: actions/checkout@v4
9079
with:
9180
fetch-depth: 2147483647
@@ -125,7 +114,7 @@ jobs:
125114
retention-days: 1
126115

127116
docs-and-check:
128-
runs-on: ubuntu-latest
117+
runs-on: ubuntu-24.04
129118
needs: [verify]
130119
outputs:
131120
upload-pages: ${{steps.upload-pages.outcome == 'success'}}
@@ -199,7 +188,7 @@ jobs:
199188
environment:
200189
name: github-pages
201190
url: ${{ steps.deployment.outputs.page_url }}
202-
runs-on: ubuntu-latest
191+
runs-on: ubuntu-24.04
203192
steps:
204193
- name: Deploy to GitHub Pages
205194
id: deployment

0 commit comments

Comments
 (0)