Skip to content

Commit

Permalink
remove snapd and ros2 container
Browse files Browse the repository at this point in the history
Signed-off-by: ISP akm <[email protected]>
  • Loading branch information
xygyo77 committed Jun 21, 2024
1 parent 8a70fe1 commit da721ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cppcheck-all-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
cppcheck-all-files:
runs-on: ubuntu-latest
container: ros:humble
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -17,7 +16,12 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cppcheck=2.14.2 wget
sudo apt-get install -y wget
# cppcheck from apt does not yet support --check-level args, and thus install from snap
- name: Install Cppcheck from snap
run: |
sudo snap install cppcheck
# Download the cppcheck suppression file
- name: Download cppcheck suppression file
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/cppcheck-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
jobs:
cppcheck-differential:
runs-on: ubuntu-latest
container: ros:humble
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -16,7 +15,12 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cppcheck=2.14.2 wget
sudo apt-get install -y wget
# cppcheck from apt does not yet support --check-level args, and thus install from snap
- name: Install Cppcheck from snap
run: |
sudo snap install cppcheck
# Download the cppcheck suppression file
- name: Download cppcheck suppression file
Expand Down Expand Up @@ -57,7 +61,7 @@ jobs:
cat cppcheck-report.txt
- name: Upload Cppcheck report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v44
with:
name: cppcheck-report
path: cppcheck-report.txt
Expand Down

0 comments on commit da721ff

Please sign in to comment.