Skip to content

Commit

Permalink
Merge branch 'main' into detailed-chameleon
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotnh authored Aug 14, 2023
2 parents d04db95 + f612af8 commit 1154dc7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Actionlint

on:
push:
branches: [ main ]
paths:
- ".github/workflows/*.ya?ml"
pull_request:
paths:
- ".github/workflows/*.ya?ml"
workflow_dispatch:

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Run actionlint
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
path: spirit

- name: build-mbed-cli
run: |
mbed new .
mbed deploy
cp .github/workflows/build-mbed/main.cpp .
cp spirit/.github/workflows/build-mbed/main.cpp .
mbed compile -t GCC_ARM -m ${{ matrix.target }} --profile ${{ matrix.profile }}
build-cli-v2:
Expand All @@ -61,10 +63,11 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
path: spirit

- name: build-mbed-tools
run: |
cd ..
mbed-tools new .
cp spirit/.github/workflows/build-mbed/main.cpp .
cp spirit/.github/workflows/build-mbed-tools/CMakeLists.txt .
Expand Down

0 comments on commit 1154dc7

Please sign in to comment.