diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 69333c87..c6dac0be 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,6 @@ jobs: - {ROS_DISTRO: noetic, ROS_REPO: testing} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: 'ros-industrial/industrial_ci@master' env: ${{ matrix.env }} diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index fa91702d..497312bd 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -11,10 +11,14 @@ on: jobs: pre-commit: name: Format - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 - name: Install clang-format-10 run: sudo apt-get install clang-format-10 - - uses: pre-commit/action@v2.0.0 + - uses: pre-commit/action@v3.0.0 + - name: Upload pre-commit changes + if: failure() && steps.precommit.outcome == 'failure' + uses: rhaschke/upload-git-patch-action@main + with: + name: pre-commit diff --git a/.github/workflows/prerelease.yaml b/.github/workflows/prerelease.yaml index b54ab1ce..fab4deca 100644 --- a/.github/workflows/prerelease.yaml +++ b/.github/workflows/prerelease.yaml @@ -20,5 +20,5 @@ jobs: name: "${{ matrix.distro }}" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ros-industrial/industrial_ci@master