build: update github build workflow for recent changes
What changed, and why it matters
This commit only updates the project's automated GitHub build workflow. It adds a second build job for a newer hardware variant (Jade Plus), renames the existing job, updates the checkout action version, and changes the build commands to use a project switching script. There is no change to the firmware code that runs on the device, no change to cryptographic logic, and no indication of a security fix or vulnerability.
No security action needed. Treat as routine CI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies .github/workflows/github-actions-test.yml. It splits a single ‘build’ job into ‘build_v1_1’ and ‘build_v2’, upgrades actions/checkout from v2 to v5, changes the esp-idf build command from a direct idf.py build with a SDKCONFIG_DEFAULTS path to running ./tools/switch_to.sh with variant flags followed by idf.py size all, and sets the v2 target to esp32s3. These are CI/CD pipeline maintenance changes.
Changed components
.github/workflows/github-actions-test.ymlInspect captured patch +18 / −6
diff --git a/.github/workflows/github-actions-test.yml b/.github/workflows/github-actions-test.yml
index 06dcd21..c4182cf 100644
--- a/.github/workflows/github-actions-test.yml
+++ b/.github/workflows/github-actions-test.yml
@@ -1,18 +1,30 @@
name: GitHub Actions test
on: [push]
jobs:
- build:
-
+ build_v1_1:
runs-on: ubuntu-latest
-
steps:
- name: Checkout repo
- uses: actions/checkout@v2
+ uses: actions/checkout@v5
with:
submodules: 'recursive'
- - name: esp-idf build
+ - name: build Jade 1.1
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.4
target: esp32
- command: idf.py -D SDKCONFIG_DEFAULTS="configs/sdkconfig_jade_v1_1.defaults" build all size-components size
+ command: ./tools/switch_to.sh jade_v1_1 --dev --log && idf.py size all
+
+ build_v2:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repo
+ uses: actions/checkout@v5
+ with:
+ submodules: 'recursive'
+ - name: build Jade Plus
+ uses: espressif/esp-idf-ci-action@v1
+ with:
+ esp_idf_version: v5.4
+ target: esp32s3
+ command: ./tools/switch_to.sh jade_v2 --dev --log --jtag && idf.py size all
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.