Skip to content

Commit

Permalink
change .cppcheck-suppressions download timing
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 8b462aa commit 9ac3e80
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cppcheck-all-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

jobs:
cppcheck-full:
cppcheck-all-files:
runs-on: ubuntu-latest

steps:
Expand All @@ -17,6 +17,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential cmake git libpcre3-dev wget
# Download the cppcheck suppression file
- name: Download cppcheck suppression file
run: |
wget https://raw.githubusercontent.com/autowarefoundation/autoware.universe/main/.cppcheck_suppressions -O .cppcheck_suppressions
# cppcheck from apt does not yet support --check-level args, and thus install from source
- name: Install Cppcheck from source
run: |
Expand All @@ -30,11 +35,6 @@ jobs:
make -j $(nproc)
sudo make install
# Download the cppcheck suppression file
- name: Download cppcheck suppression file
run: |
wget https://raw.githubusercontent.com/autowarefoundation/autoware.universe/main/.cppcheck_suppressions -O .cppcheck_suppressions
- name: Get all C++ files
id: all-files
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cppcheck-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential cmake git libpcre3-dev wget
# Download the cppcheck suppression file
- name: Download cppcheck suppression file
run: |
wget https://raw.githubusercontent.com/autowarefoundation/autoware.universe/main/.cppcheck_suppressions -O .cppcheck_suppressions
# cppcheck from apt does not yet support --check-level args, and thus install from source
- name: Install Cppcheck from source
run: |
Expand All @@ -29,11 +34,6 @@ jobs:
make -j $(nproc)
sudo make install
# Download the cppcheck suppression file
- name: Download cppcheck suppression file
run: |
wget https://raw.githubusercontent.com/autowarefoundation/autoware.universe/main/.cppcheck_suppressions -O .cppcheck_suppressions
- name: Get changed files
id: changed-files
run: |
Expand Down

0 comments on commit 9ac3e80

Please sign in to comment.