Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
Kenji Miyake committed Dec 9, 2021
1 parent 451d248 commit d8e7561
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-and-test-pr-arm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build-and-test-pr

on:
pull_request:
types:
- labeled

jobs:
build-and-test-arm:
if: contains(github.event.pull_request.labels.*.name, 'ARM64')
runs-on: [self-hosted, linux, ARM64]
container: ros:galactic
steps:
- name: Get modified packages
id: get-modified-packages
uses: autowarefoundation/autoware-github-actions/get-modified-packages@feature/composite-action

- name: Build and test
id: build-and-test
uses: autowarefoundation/autoware-github-actions/colcon-build-and-test@feature/composite-action
with:
rosdistro: galactic
build-depends-repos: build_depends.repos
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
1 change: 0 additions & 1 deletion .github/workflows/build-and-test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
container: ros:galactic

steps:
- name: Get modified packages
id: get-modified-packages
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ jobs:
build-and-test-scheduled:
runs-on: ${{ matrix.os }}
container: ros:galactic

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ARM64]

steps:
- name: Get self packages
id: get-self-packages
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pre-commit

on:
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@feature/composite-action
with:
pre-commit-config: .pre-commit-config.yaml
14 changes: 10 additions & 4 deletions .github/workflows/spell-check.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: spell-check-pr
name: spell-check

on:
pull_request:

jobs:
spell-check:
uses: autowarefoundation/autoware-github-actions/.github/workflows/spell-check.yaml@feature/composite-action
with:
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/cspell/.cspell.json
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run spell-check
uses: autowarefoundation/autoware-github-actions/spell-check@feature/composite-action
with:
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/cspell/.cspell.json

0 comments on commit d8e7561

Please sign in to comment.