diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c6dac0b..a825379 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@v3 - - uses: 'ros-industrial/industrial_ci@master' + - uses: actions/checkout@v4 + - uses: ros-industrial/industrial_ci@master env: ${{ matrix.env }} diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 497312b..e3deb4c 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -13,10 +13,10 @@ jobs: name: Format 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: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 - name: Upload pre-commit changes if: failure() && steps.precommit.outcome == 'failure' uses: rhaschke/upload-git-patch-action@main diff --git a/.github/workflows/prerelease.yaml b/.github/workflows/prerelease.yaml index fab4dec..4e280db 100644 --- a/.github/workflows/prerelease.yaml +++ b/.github/workflows/prerelease.yaml @@ -3,22 +3,27 @@ name: pre-release -on: [workflow_dispatch] +on: + workflow_dispatch: + inputs: + ROS_DISTRO: + type: string + required: true + description: 'ROS distribution codename:' + default: noetic + +permissions: + contents: read # to fetch code (actions/checkout) jobs: default: - strategy: - fail-fast: false - matrix: - distro: [noetic] - env: - ROS_DISTRO: ${{ matrix.distro }} + ROS_DISTRO: ${{ inputs.ROS_DISTRO }} PRERELEASE: true BASEDIR: ${{ github.workspace }}/.work - name: "${{ matrix.distro }}" + name: "${{ inputs.ROS_DISTRO }}" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ros-industrial/industrial_ci@master diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e4c81e..073cd03 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: v4.6.0 hooks: - id: check-added-large-files - id: check-case-conflict