diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 0c63ebb..706b103 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -13,8 +13,7 @@ jobs: name: Format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 - name: Install clang-format-12 run: sudo apt-get install clang-format-12 - - uses: pre-commit/action@v2.0.3 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/industrial_ci_action.yml b/.github/workflows/industrial_ci_action.yml index a7ce6a6..9cc5f73 100644 --- a/.github/workflows/industrial_ci_action.yml +++ b/.github/workflows/industrial_ci_action.yml @@ -16,7 +16,7 @@ jobs: matrix: env: - { - ROS_DISTRO: galactic, ROS_REPO: main, CCOV_UPLOAD: true, + ROS_DISTRO: galactic, ROS_REPO: main, CCOV_UPLOAD: true, CLANG_TIDY: pedantic, CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='--coverage' -DCMAKE_CXX_FLAGS='--coverage'", AFTER_RUN_TARGET_TEST: './.ci.prepare_codecov', @@ -36,21 +36,21 @@ jobs: name: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}${{ matrix.env.CCOV_UPLOAD && ' + ccov' || ''}} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} - key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}-${{ github.sha }} + key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}-${{ github.sha }} restore-keys: | ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} - uses: 'ros-industrial/industrial_ci@master' env: ${{ matrix.env }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: failure() with: name: test-results path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml - - uses: codecov/codecov-action@v1 - if: ${{ matrix.env.CCOV_UPLOAD }} + - uses: codecov/codecov-action@v3 + if: ${{ matrix.env.CCOV_UPLOAD }} with: files: ${{ env.BASEDIR }}/coverage.info diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 6da2963..0b10975 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -21,6 +21,6 @@ jobs: name: "${{ matrix.distro }}" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: industrial_ci uses: ros-industrial/industrial_ci@master