Skip to content

Commit 919e157

Browse files
authored
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-5
2 parents 0031d82 + c25c0a7 commit 919e157

7 files changed

+39
-51
lines changed

.github/workflows/build-and-test-differential.yaml

+24-37
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,21 @@ name: build-and-test-differential
22

33
on:
44
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- labeled
510

611
jobs:
12+
make-sure-label-is-present:
13+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
14+
with:
15+
label: tag:run-build-and-test-differential
16+
717
build-and-test-differential:
18+
needs: make-sure-label-is-present
19+
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
820
runs-on: ubuntu-latest
921
container: ${{ matrix.container }}
1022
strategy:
@@ -17,10 +29,17 @@ jobs:
1729
container: ros:humble
1830
build-depends-repos: build_depends.repos
1931
steps:
20-
- name: Check out repository
21-
uses: actions/checkout@v3
32+
- name: Set PR fetch depth
33+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
34+
35+
- name: Checkout PR branch and all PR commits
36+
uses: actions/checkout@v4
2237
with:
23-
fetch-depth: 0
38+
ref: ${{ github.event.pull_request.head.sha }}
39+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
40+
41+
- name: Show disk space before the tasks
42+
run: df -h
2443

2544
- name: Remove exec_depend
2645
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -55,37 +74,5 @@ jobs:
5574
verbose: true
5675
flags: differential
5776

58-
clang-tidy-differential:
59-
runs-on: ubuntu-latest
60-
container: ros:humble
61-
needs: build-and-test-differential
62-
steps:
63-
- name: Check out repository
64-
uses: actions/checkout@v3
65-
with:
66-
fetch-depth: 0
67-
68-
- name: Remove exec_depend
69-
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
70-
71-
- name: Get modified packages
72-
id: get-modified-packages
73-
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
74-
75-
- name: Get modified files
76-
id: get-modified-files
77-
uses: tj-actions/changed-files@v42
78-
with:
79-
files: |
80-
**/*.cpp
81-
**/*.hpp
82-
83-
- name: Run clang-tidy
84-
if: ${{ steps.get-modified-files.outputs.all_changed_files != '' }}
85-
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1
86-
with:
87-
rosdistro: humble
88-
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
89-
target-files: ${{ steps.get-modified-files.outputs.all_changed_files }}
90-
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
91-
build-depends-repos: build_depends.repos
77+
- name: Show disk space after the tasks
78+
run: df -h

.github/workflows/build-and-test.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,12 @@ jobs:
2222
build-depends-repos: build_depends.repos
2323
steps:
2424
- name: Check out repository
25-
uses: actions/checkout@v3
26-
27-
- name: Free disk space (Ubuntu)
28-
uses: jlumbroso/free-disk-space@v1.3.1
25+
uses: actions/checkout@v4
2926
with:
30-
tool-cache: false
31-
dotnet: false
32-
swap-storage: false
33-
large-packages: false
27+
fetch-depth: 1
28+
29+
- name: Show disk space before the tasks
30+
run: df -h
3431

3532
- name: Remove exec_depend
3633
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -64,3 +61,6 @@ jobs:
6461
fail_ci_if_error: false
6562
verbose: true
6663
flags: total
64+
65+
- name: Show disk space after the tasks
66+
run: df -h

.github/workflows/cancel-previous-workflows.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Cancel previous runs
11-
uses: styfle/cancel-workflow-action@0.12.0
11+
uses: styfle/cancel-workflow-action@0.12.1
1212
with:
1313
workflow_id: all
1414
all_but_latest: true

.markdownlint.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ MD029:
77
style: ordered
88
MD033: false
99
MD041: false
10+
MD045: false
1011
MD046: false
1112
MD049: false

.pre-commit-config-optional.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/tcort/markdown-link-check
3-
rev: v3.11.2
3+
rev: v3.12.2
44
hooks:
55
- id: markdown-link-check
66
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
args: [--markdown-linebreak-ext=md]
1919

2020
- repo: https://github.com/igorshubovych/markdownlint-cli
21-
rev: v0.40.0
21+
rev: v0.41.0
2222
hooks:
2323
- id: markdownlint
2424
args: [-c, .markdownlint.yaml, --fix]
@@ -66,7 +66,7 @@ repos:
6666
args: [--line-length=100]
6767

6868
- repo: https://github.com/pre-commit/mirrors-clang-format
69-
rev: v18.1.5
69+
rev: v18.1.6
7070
hooks:
7171
- id: clang-format
7272
types_or: [c++, c, cuda]
@@ -79,7 +79,7 @@ repos:
7979
exclude: .cu
8080

8181
- repo: https://github.com/python-jsonschema/check-jsonschema
82-
rev: 0.28.3
82+
rev: 0.28.5
8383
hooks:
8484
- id: check-metaschema
8585
files: ^.+/schema/.*schema\.json$

pacmod_interface/launch/pacmod_steer_test.launch.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<arg name="socketcan_device" default="canVehicle"/>
88

99
<!-- vehicle info param -->
10-
<include file="$(find-pkg-share global_parameter_loader)/launch/global_params.launch.py">
10+
<include file="$(find-pkg-share autoware_global_parameter_loader)/launch/global_params.launch.py">
1111
<arg name="vehicle_model" value="$(var vehicle_model)"/>
1212
</include>
1313

0 commit comments

Comments
 (0)