diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9875832a..9b8d8cb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,18 +5,10 @@ on: [push, pull_request] # on all pushes and PRs jobs: ros1_bridge: runs-on: ubuntu-20.04 + container: + image: ros:rolling-ros1-bridge steps: - uses: actions/checkout@v2 - - name: Workaround for https://github.com/actions/runner-images/issues/675 - run: | - sudo sed -i 's/azure\.//' /etc/apt/sources.list - - uses: ros-tooling/setup-ros@v0.5 - with: - required-ros-distributions: "noetic rolling" - name: Build and test ros1-bridge - uses: ros-tooling/action-ros-ci@v0.2 - with: - package-name: ros1_bridge - target-ros1-distro: noetic - target-ros2-distro: rolling - + run: | + /ros_entrypoint.sh colcon build --allow-overriding ros1_bridge