Skip to content

Commit 9095b61

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4577719 commit 9095b61

12 files changed

+97
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: build-and-test
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: 0 0 * * *
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-and-test:
11+
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
12+
runs-on: ubuntu-latest
13+
container: ${{ matrix.container }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
rosdistro:
18+
- humble
19+
include:
20+
- rosdistro: humble
21+
container: ros:humble
22+
build-depends-repos: build_depends.repos
23+
steps:
24+
- 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
29+
with:
30+
tool-cache: false
31+
dotnet: false
32+
swap-storage: false
33+
large-packages: false
34+
35+
- name: Remove exec_depend
36+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
37+
38+
- name: Get self packages
39+
id: get-self-packages
40+
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
41+
42+
- name: Build
43+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
44+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
45+
with:
46+
rosdistro: ${{ matrix.rosdistro }}
47+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
48+
build-depends-repos: ${{ matrix.build-depends-repos }}
49+
50+
- name: Test
51+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
52+
id: test
53+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
54+
with:
55+
rosdistro: ${{ matrix.rosdistro }}
56+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
57+
build-depends-repos: ${{ matrix.build-depends-repos }}
58+
59+
- name: Upload coverage to CodeCov
60+
if: ${{ steps.test.outputs.coverage-report-files != '' }}
61+
uses: codecov/codecov-action@v3
62+
with:
63+
files: ${{ steps.test.outputs.coverage-report-files }}
64+
fail_ci_if_error: false
65+
verbose: true
66+
flags: total
67+
68+
- name: Show disk space after the tasks
69+
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

.github/workflows/check-build-depends.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build-depends-repos: build_depends.repos
2121
steps:
2222
- name: Check out repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v3
2424

2525
- name: Remove exec_depend
2626
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1

.github/workflows/clang-tidy-pr-comments-manually.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v3
1515

1616
- name: Download analysis results
1717
run: |
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Check out PR head
3838
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v3
4040
with:
4141
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4242
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/clang-tidy-pr-comments.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v3
1717

1818
- name: Download analysis results
1919
run: |
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Check out PR head
3939
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v3
4141
with:
4242
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4343
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/delete-closed-pr-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616

.github/workflows/deploy-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Check out repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v3
3434
with:
3535
fetch-depth: 0
3636
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/pre-commit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: Generate token
1212
id: generate-token
13-
uses: tibdex/github-app-token@v1
13+
uses: tibdex/github-app-token@v2
1414
with:
1515
app_id: ${{ secrets.APP_ID }}
1616
private_key: ${{ secrets.PRIVATE_KEY }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: spell-check-differential
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
spell-check-differential:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v4
12+
13+
- name: Run spell-check
14+
uses: autowarefoundation/autoware-github-actions/spell-check@v1
15+
with:
16+
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json

.github/workflows/sync-files.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Generate token
2020
id: generate-token
21-
uses: tibdex/github-app-token@v1
21+
uses: tibdex/github-app-token@v2
2222
with:
2323
app_id: ${{ secrets.APP_ID }}
2424
private_key: ${{ secrets.PRIVATE_KEY }}

.github/workflows/update-codeowners-from-packages.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Generate token
2020
id: generate-token
21-
uses: tibdex/github-app-token@v1
21+
uses: tibdex/github-app-token@v2
2222
with:
2323
app_id: ${{ secrets.APP_ID }}
2424
private_key: ${{ secrets.PRIVATE_KEY }}

.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]

0 commit comments

Comments
 (0)