Skip to content

Commit 1b3c666

Browse files
ci: bump ubuntu version
Bump actions to use ubuntu-24.04 for fixing the following GitHub warning: The Ubuntu 20.04 Actions runner image will begin deprecation on 2025-02-01. Update list of Tarantools to test. Part of #TNTP-1918
1 parent 1af584e commit 1b3c666

File tree

3 files changed

+17
-26
lines changed

3 files changed

+17
-26
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
version-check:
1010
# We need this job to run only on push with tag.
1111
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Check module version
1515
uses: tarantool/actions/check-module-version@master
@@ -18,7 +18,7 @@ jobs:
1818

1919
publish-scm-1:
2020
if: github.ref == 'refs/heads/master'
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-24.04
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: tarantool/rocks.tarantool.org/github-action@master
@@ -29,15 +29,15 @@ jobs:
2929
publish-tag:
3030
if: startsWith(github.ref, 'refs/tags/')
3131
needs: version-check
32-
runs-on: ubuntu-20.04
32+
runs-on: ubuntu-24.04
3333
steps:
3434
- uses: actions/checkout@v4
35-
- uses: tarantool/setup-tarantool@v2
35+
- uses: tarantool/setup-tarantool@v3
3636
with:
37-
tarantool-version: '2.11'
37+
tarantool-version: '1.10'
3838

3939
- name: Prepare apt repo
40-
run: curl -L https://tarantool.io/release/2/installer.sh | bash
40+
run: curl -L https://tarantool.io/release/3/installer.sh | bash
4141

4242
- name: Install tt cli
4343
run: sudo apt install -y tt

.github/workflows/reusable_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
run_tests:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-24.04
1515

1616
steps:
1717
- name: Clone the ddl module
@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Setup tt
3535
run: |
36-
curl -L https://tarantool.io/release/2/installer.sh | sudo bash
36+
curl -L https://tarantool.io/release/3/installer.sh | sudo bash
3737
sudo apt install -y tt
3838
tt version
3939

.github/workflows/test.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,17 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
tarantool: ['1.10', '2.5', '2.6', '2.7', '2.8', '2.10']
12+
tarantool: ['2.11', '3.3']
1313
coveralls: [false]
1414
include:
1515
- tarantool: '2.11'
1616
coveralls: true
17-
# There are problems with current version of the
18-
# setup-tarantool action on Ubuntu Jammy (ubuntu-latest or
19-
# ubuntu-22.04). Use Ubuntu Focal (ubuntu-20.04) until they
20-
# will be resolved. See [1] for details.
21-
#
22-
# [1]: https://github.com/tarantool/setup-tarantool/issues/36
23-
runs-on: [ubuntu-20.04]
17+
18+
runs-on: [ubuntu-24.04]
2419
steps:
2520
- uses: actions/checkout@v4
2621

27-
- uses: tarantool/setup-tarantool@v2
22+
- uses: tarantool/setup-tarantool@v3
2823
with:
2924
tarantool-version: ${{ matrix.tarantool }}
3025

@@ -66,6 +61,7 @@ jobs:
6661

6762
- name: Run tests and code coverage analysis
6863
run: make -C build coverage
64+
if: ${{ matrix.tarantool != '3.3' }}
6965

7066
- name: Send code coverage to coveralls.io
7167
run: make -C build coveralls
@@ -78,18 +74,13 @@ jobs:
7874
strategy:
7975
fail-fast: false
8076
matrix:
81-
tarantool: ['2.11']
82-
# There are problems with current version of the
83-
# setup-tarantool action on Ubuntu Jammy (ubuntu-latest or
84-
# ubuntu-22.04). Use Ubuntu Focal (ubuntu-20.04) until they
85-
# will be resolved. See [1] for details.
86-
#
87-
# [1]: https://github.com/tarantool/setup-tarantool/issues/36
88-
runs-on: [ubuntu-20.04]
77+
tarantool: ['2.11', '3.3']
78+
79+
runs-on: [ubuntu-24.04]
8980
steps:
9081
- uses: actions/checkout@v4
9182

92-
- uses: tarantool/setup-tarantool@v2
83+
- uses: tarantool/setup-tarantool@v3
9384
with:
9485
tarantool-version: ${{ matrix.tarantool }}
9586

0 commit comments

Comments
 (0)