diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8dcbfc6..06f2997 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,7 +34,7 @@ jobs: name: "${{ matrix.distro }}${{ matrix.repo != 'ros' && format(' {0}', matrix.repo) || '' }}" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # The target directory cache doesn't include the source directory because # that comes from the checkout. See "prepare target_ws for cache" task below @@ -81,7 +81,7 @@ jobs: docker push ${{ env.DOCKER_COMMIT }} || true - name: Upload test artifacts (on failure) - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: test-results-${{ matrix.distro }} diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 63a67be..e4c714e 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -14,10 +14,12 @@ jobs: name: pre-commit runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install clang-format-10 run: sudo apt-get install clang-format-10 - uses: rhaschke/install-catkin_lint-action@v1.0 with: distro: noetic - - uses: pre-commit/action@v3.0.0 + - uses: rhaschke/pre-commit-action@main + - uses: pre-commit-ci/lite-action@v1.0.3 + if: always() diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37ea15c..ea0a187 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict