Merge pull request #27 from Shinku-Chen/ci/split-checks

ci: split PR checks into static and firmware workflows
This commit is contained in:
LE authored and GitHub committed 2026-09-06 20:27:50 +08:00 Unverified
commit b19d2eeea4
5 files changed
+101 -27

No files matched your search

@@ -1,34 +1,30 @@
name: Pull request checks
name: Firmware checks
on:
pull_request:
paths-ignore:
- "docs/**"
- "plays/**"
- "skills/**"
- "*.md"
push:
branches:
- main
paths-ignore:
- "docs/**"
- "plays/**"
- "skills/**"
- "*.md"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
group: firmware-${{ github.ref }}
cancel-in-progress: true
jobs:
static:
name: Repository and host checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Install verified actionlint
run: |
actionlint_bin="$(./tools/install-actionlint.sh "$RUNNER_TEMP/actionlint")"
echo "ACTIONLINT_BIN=${actionlint_bin}" >> "$GITHUB_ENV"
- name: Validate repository and run host tests
run: ./tools/validate.sh --static
firmware:
name: ESP-IDF 5.5.3 firmware
runs-on: ubuntu-latest
+30
View File
@@ -0,0 +1,30 @@
name: Static checks
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: static-${{ github.ref }}
cancel-in-progress: true
jobs:
static:
name: Repository and host checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Install verified actionlint
run: |
actionlint_bin="$(./tools/install-actionlint.sh "$RUNNER_TEMP/actionlint")"
echo "ACTIONLINT_BIN=${actionlint_bin}" >> "$GITHUB_ENV"
- name: Validate repository and run host tests
run: ./tools/validate.sh --static
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
# Step 2: run the sync action
- name: Sync upstream changes
id: sync
uses: Shinku-Chen/fork-sync-with-upstream-action@66925e8bb37b2590950a72d786b308e4f1b5301f # TEMP: v3.4.3 + fix for `rev-list` ambiguous branch/dir `main` (upstream PR aormsby/Fork-Sync-With-Upstream-action#85); switch back to aormsby release once merged
uses: aormsby/Fork-Sync-With-Upstream-action@3863de47aaf0256b8dee9cded3dfed090b7270a2 # v3.4.3 + rev-list ambiguity fix (aormsby/Fork-Sync-With-Upstream-action#85)
with:
upstream_sync_repo: FoloToy/ai-passport
upstream_sync_branch: main
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more