Skip to content

Commit bcd9e56

Browse files
authored
Remove deprecated ubuntu-20.04 runners [OI-3101] (#1490)
# Description While working on #1487 I noticed several pipelines pipelines are failing/timing out (example: https://github.com/swift-nav/libsbp/actions/runs/16514255607/job/46702019004). These are relying on deprecated github actions runners (ubuntu-20.04), which are not available anymore. This PR removes as much ubuntu-20.04 references as possible. With this PR, all existing libsbp CI workflows are functional 🎉 # API compatibility No API change # Related PRs Implemented while working on #1487
1 parent 63f1167 commit bcd9e56

File tree

4 files changed

+18
-27
lines changed

4 files changed

+18
-27
lines changed

.github/workflows/java.yaml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,21 @@ on:
1414
jobs:
1515
tests-java-1_8:
1616
name: Test
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-24.04
18+
container: ubuntu:20.04
1819
steps:
1920
- uses: actions/checkout@v4
21+
- uses: actions/[email protected]
22+
with:
23+
java-version: "11"
24+
distribution: "temurin"
25+
- name: Update apt and install unzip
26+
run: |
27+
apt-get update
28+
apt-get install -y unzip make
29+
shell: bash
2030
- uses: gradle/gradle-build-action@v3
2131
with:
2232
gradle-version: 7.1.1
2333
- name: Run tests
2434
run: make test-java
25-
26-
# sonarqube:
27-
# name: SonarQube
28-
# runs-on: ubuntu-20.04
29-
# steps:
30-
# - uses: actions/checkout@v4
31-
# with:
32-
# fetch-depth: 0
33-
# - uses: gradle/gradle-build-action@v3
34-
# with:
35-
# gradle-version: 7.1.1
36-
# - name: Run tests
37-
# run: make test-java
38-
#
39-
# - name: Run sonarqube
40-
# env:
41-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
43-
# run: (cd java && gradle sonarqube)

.github/workflows/javascript.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
coverage:
1919
name: Test
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
2121
steps:
2222
- uses: actions/checkout@v4
2323

.github/workflows/test_validate.yaml

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

99
jobs:
1010
test_validation:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout Sources
1414
uses: actions/checkout@v4

.github/workflows/validate.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ on:
66
- "spec/**"
77
push:
88
branches:
9-
- 'v*-release'
10-
- 'starling-v*-release'
11-
- 'libsbp-v*-release'
9+
- "v*-release"
10+
- "starling-v*-release"
11+
- "libsbp-v*-release"
1212
tags:
13-
- 'v*'
13+
- "v*"
1414
paths:
1515
- "spec/**"
1616

1717
jobs:
1818
validation:
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020
steps:
2121
- name: Checkout Current Spec
2222
uses: actions/checkout@v4

0 commit comments

Comments
 (0)