Skip to content

Commit b49aa5d

Browse files
committed
Pin ubuntu runner images to 20.04 version
Instead of running GitHub Actions on ubuntu-latest (which recently changed to 22.04) pin a specific version of 20.04. When I was first making the workflows I used ubuntu-latest as a way to have motivation to have the workflow code modern. With more experience I see that it unnecessarily adds work maintaining the repo.
1 parent b0d7ac1 commit b49aa5d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/docs-pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
release:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-20.04
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v3

.github/workflows/docs-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-20.04
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3

.github/workflows/tests-reports-4x@v1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- completed
1111
jobs:
1212
report:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
timeout-minutes: 5
1515

1616
steps:

.github/workflows/tests-reports@v1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- completed
1111
jobs:
1212
report:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
timeout-minutes: 5
1515

1616
steps:

.github/workflows/tests@v1.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build:
1212
name: Build
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
timeout-minutes: 10
1515

1616
strategy:
@@ -33,7 +33,7 @@ jobs:
3333

3434
verify:
3535
name: Full verify
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-20.04
3737
timeout-minutes: 10
3838

3939
strategy:
@@ -56,7 +56,7 @@ jobs:
5656

5757
unit-tests:
5858
name: Unit tests
59-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-20.04
6060
timeout-minutes: 10
6161

6262
steps:
@@ -88,7 +88,7 @@ jobs:
8888

8989
setup-integration-tests:
9090
name: Setup ITs
91-
runs-on: ubuntu-latest
91+
runs-on: ubuntu-20.04
9292
timeout-minutes: 2
9393

9494
steps:
@@ -113,7 +113,7 @@ jobs:
113113

114114
cassandra-integration-tests:
115115
name: Cassandra ITs
116-
runs-on: ubuntu-latest
116+
runs-on: ubuntu-20.04
117117
needs: [setup-integration-tests]
118118
timeout-minutes: 90
119119

@@ -170,7 +170,7 @@ jobs:
170170

171171
scylla-integration-tests:
172172
name: Scylla ITs
173-
runs-on: ubuntu-latest
173+
runs-on: ubuntu-20.04
174174
needs: [setup-integration-tests]
175175
timeout-minutes: 90
176176

0 commit comments

Comments
 (0)