Skip to content

Commit 0baa8f0

Browse files
authored
Update github actions. (#77)
Remove EOL distributions, add supported distributions, and update all of the action versions. Signed-off-by: Chris Lalancette <clalancette@gmail.com>
1 parent c2667c2 commit 0baa8f0

File tree

2 files changed

+16
-67
lines changed

2 files changed

+16
-67
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
linter: [copyright, flake8, pep257]
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: ros-tooling/setup-ros@v0.3
17+
- uses: ros-tooling/setup-ros@v0.7
1818
with:
1919
required-ros-distributions: rolling
2020
- uses: ros-tooling/action-ros-lint@v0.1
@@ -32,8 +32,8 @@ jobs:
3232
matrix:
3333
linter: [copyright, cpplint, uncrustify]
3434
steps:
35-
- uses: actions/checkout@v2
36-
- uses: ros-tooling/setup-ros@v0.3
35+
- uses: actions/checkout@v4
36+
- uses: ros-tooling/setup-ros@v0.7
3737
with:
3838
required-ros-distributions: rolling
3939
- uses: ros-tooling/action-ros-lint@v0.1

.github/workflows/test.yaml

Lines changed: 13 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Build and run tests
1515
id: action-ros-ci
16-
uses: ros-tooling/action-ros-ci@v0.2
16+
uses: ros-tooling/action-ros-ci@v0.3
1717
with:
1818
package-name: |
1919
turtle_tf2_py
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- name: Build and run tests
4141
id: action-ros-ci
42-
uses: ros-tooling/action-ros-ci@v0.2
42+
uses: ros-tooling/action-ros-ci@v0.3
4343
with:
4444
package-name: |
4545
turtle_tf2_py
@@ -58,46 +58,20 @@ jobs:
5858
"pytest-args": ["-m", "not xfail"]
5959
}
6060
}
61-
build_and_test_source_galactic:
61+
build_and_test_source_iron:
6262
runs-on: ubuntu-latest
6363
container:
64-
image: rostooling/setup-ros-docker:ubuntu-focal-latest
65-
steps:
66-
- name: Build and run tests
67-
id: action-ros-ci
68-
uses: ros-tooling/action-ros-ci@v0.2
69-
with:
70-
package-name: |
71-
turtle_tf2_py
72-
turtle_tf2_cpp
73-
target-ros2-distro: galactic
74-
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/galactic/ros2.repos
75-
colcon-defaults: |
76-
{
77-
"build": {
78-
"cmake-args": [
79-
"-DCMAKE_CXX_FLAGS=\"-Werror\""
80-
]
81-
},
82-
"test": {
83-
"ctest-args": ["-LE", "xfail"],
84-
"pytest-args": ["-m", "not xfail"]
85-
}
86-
}
87-
build_and_test_source_foxy:
88-
runs-on: ubuntu-latest
89-
container:
90-
image: rostooling/setup-ros-docker:ubuntu-focal-latest
64+
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
9165
steps:
9266
- name: Build and run tests
9367
id: action-ros-ci
94-
uses: ros-tooling/action-ros-ci@v0.2
68+
uses: ros-tooling/action-ros-ci@v0.3
9569
with:
9670
package-name: |
9771
turtle_tf2_py
9872
turtle_tf2_cpp
99-
target-ros2-distro: foxy
100-
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/foxy/ros2.repos
73+
target-ros2-distro: iron
74+
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/iron/ros2.repos
10175
colcon-defaults: |
10276
{
10377
"build": {
@@ -117,7 +91,7 @@ jobs:
11791
steps:
11892
- name: Build and run tests
11993
id: action-ros-ci
120-
uses: ros-tooling/action-ros-ci@v0.2
94+
uses: ros-tooling/action-ros-ci@v0.3
12195
with:
12296
package-name: |
12397
turtle_tf2_py
@@ -142,7 +116,7 @@ jobs:
142116
steps:
143117
- name: Build and run tests
144118
id: action-ros-ci
145-
uses: ros-tooling/action-ros-ci@v0.2
119+
uses: ros-tooling/action-ros-ci@v0.3
146120
with:
147121
package-name: |
148122
turtle_tf2_py
@@ -160,44 +134,19 @@ jobs:
160134
"pytest-args": ["-m", "not xfail"]
161135
}
162136
}
163-
build_and_test_binaries_galatic:
137+
build_and_test_binaries_iron:
164138
runs-on: ubuntu-latest
165139
container:
166-
image: rostooling/setup-ros-docker:ubuntu-focal-latest
167-
steps:
168-
- name: Build and run tests
169-
id: action-ros-ci
170-
uses: ros-tooling/action-ros-ci@v0.2
171-
with:
172-
package-name: |
173-
turtle_tf2_py
174-
turtle_tf2_cpp
175-
target-ros2-distro: galactic
176-
colcon-defaults: |
177-
{
178-
"build": {
179-
"cmake-args": [
180-
"-DCMAKE_CXX_FLAGS=\"-Werror\""
181-
]
182-
},
183-
"test": {
184-
"ctest-args": ["-LE", "xfail"],
185-
"pytest-args": ["-m", "not xfail"]
186-
}
187-
}
188-
build_and_test_binaries_foxy:
189-
runs-on: ubuntu-latest
190-
container:
191-
image: rostooling/setup-ros-docker:ubuntu-focal-latest
140+
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
192141
steps:
193142
- name: Build and run tests
194143
id: action-ros-ci
195-
uses: ros-tooling/action-ros-ci@v0.2
144+
uses: ros-tooling/action-ros-ci@v0.3
196145
with:
197146
package-name: |
198147
turtle_tf2_py
199148
turtle_tf2_cpp
200-
target-ros2-distro: foxy
149+
target-ros2-distro: iron
201150
colcon-defaults: |
202151
{
203152
"build": {

0 commit comments

Comments
 (0)