diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 186028f..9828696 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,9 +13,6 @@ jobs: matrix: ros2-distro: [humble, iron] steps: - - name: Checkout this repository - uses: actions/checkout@v4.1.1 - - name: Checkout ROS 2 examples uses: actions/checkout@v4.1.1 with: @@ -27,12 +24,12 @@ jobs: rclpy/topics - name: Setup workspace - uses: ./setup + uses: ichiro-its/ros2-build-and-test-action/setup@${{ github.sha }} with: ros2-distro: ${{ matrix.ros2-distro }} - name: Build workspace - uses: ./build + uses: ichiro-its/ros2-build-and-test-action/build@${{ github.sha }} with: ros2-distro: ${{ matrix.ros2-distro }} @@ -44,9 +41,6 @@ jobs: matrix: ros2-distro: [humble, iron] steps: - - name: Checkout this repository - uses: actions/checkout@v4.1.1 - - name: Checkout ROS 2 examples on non master branch uses: actions/checkout@v4.1.1 with: @@ -58,6 +52,6 @@ jobs: rclpy/topics - name: Test the action - uses: ./ + uses: ichiro-its/ros2-build-and-test-action@${{ github.sha }} with: ros2-distro: ${{ matrix.ros2-distro }}