Skip to content

Commit

Permalink
[GA][Catkin Lint] refactor the script to run catkin lint (#647)
Browse files Browse the repository at this point in the history
Co-authored-by: Moju Zhao <[email protected]>
  • Loading branch information
tongtybj and Moju Zhao authored Jan 2, 2025
1 parent c89afb8 commit 25e0f64
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/catkin_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,26 @@ jobs:
runs-on: ubuntu-latest
name: catkin_lint

container: ubuntu:20.04

steps:
- name: Setup OS
run: |
sudo apt-get update -y
sudo apt-get upgrade -y
apt-get update -y
apt-get upgrade -y
- name: Setup Git
run: |
sudo apt-get install -y git
apt-get install -y git
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: catkin lint setup
run: |
sudo apt-get install -y -q python3-pip python3-wstool
sudo pip3 install catkin_lint rosdep
sudo rosdep init
export DEBIAN_FRONTEND=noninteractive
apt-get install -y -q python3-pip python3-wstool
pip3 install catkin_lint rosdep
rosdep init
rosdep update
- name: catkin lint test
run: |
Expand Down

0 comments on commit 25e0f64

Please sign in to comment.