Skip to content

Commit

Permalink
CI: Fix+Update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 13, 2024
1 parent f8b16d4 commit 2cf28df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
sudo apt-get update
sudo apt-get install -y ros-rolling-ament-lint-common python3-pip
sudo pip3 install pre-commit
sudo python -m pip install --upgrade pip
sudo python -m pip install pre-commit --break-system-packages
- name: Run pre-commit
run: |
source /opt/ros/rolling/setup.sh
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down

0 comments on commit 2cf28df

Please sign in to comment.