mirror of
https://github.com/meshtastic/firmware.git
synced 2026-08-01 10:58:30 -04:00
Reconciles develop to master's latest renovate values for deps bumped on the 2.7 line but never back-merged, so the develop->master 2.8 promotion (#10777) doesn't regress them. Done as a value reconcile, not a cherry-pick: several master commits are superseded (5 device-ui bumps, 2 ststm32 bumps), and develop's stale archive/refs/tags/ URL form actually blocked renovate from bumping these (the regex expects archive/<version>.zip). GitHub Actions: - actions/checkout v6 -> v7 (35 refs) - actions/cache v5 -> v6 - actions/github-script v8 -> v9 (3 refs) - actions/stale v10.2.0 -> v10.3.0 Build / platform: - alpine 3.23 -> 3.24 (alpine.Dockerfile) - platformio/ststm32 19.5.0 -> 19.7.0 - platformio/nordicnrf52 10.11.0 -> 10.12.0 Libraries: - Adafruit SSD1306 2.5.16 -> 2.5.17 - SparkFun MMC5983MA v1.1.4 -> v1.1.5 - Sensirion I2C SCD30 1.0.0 -> 1.1.1 - meshtastic esp8266-oled-ssd1306 6bfd1f1 -> 2e26010 Deliberately excluded: - meshtastic/device-ui digest: coupled to firmware protobuf/API and develop has diverged hard (NodeDB v25); left for a separate maintainer bump + visual check. - libpax: develop uses the mverch67 fork (pinned by Arduino-3.x migration #9122), master uses dbinfrago -- a fork divergence, not a version bump; not reconciled. - platform-native digest: develop already at 61067ac (equal to master).
73 lines
2.2 KiB
YAML
73 lines
2.2 KiB
YAML
name: Package PlatformIO Library Dependencies
|
|
# trunk-ignore-all(checkov/CKV_GHA_7): Allow workflow_dispatch inputs for testing
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
pio_env:
|
|
description: PlatformIO environment to target
|
|
required: true
|
|
type: string
|
|
workflow_dispatch:
|
|
inputs:
|
|
pio_env:
|
|
description: PlatformIO environment to target
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
pkg-pio-libdeps:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v7
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: 3.x
|
|
|
|
- name: Install deps
|
|
shell: bash
|
|
run: |
|
|
pip install platformio
|
|
|
|
- name: Get release version string
|
|
run: |
|
|
echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
|
id: version
|
|
|
|
- name: Fetch libdeps
|
|
shell: bash
|
|
run: |-
|
|
platformio pkg install -e ${{ inputs.pio_env }}
|
|
platformio pkg install -e ${{ inputs.pio_env }} -t platformio/tool-scons@4.40502.0
|
|
env:
|
|
PLATFORMIO_LIBDEPS_DIR: pio/libdeps
|
|
PLATFORMIO_PACKAGES_DIR: pio/packages
|
|
PLATFORMIO_CORE_DIR: pio/core
|
|
PLATFORMIO_SETTING_ENABLE_TELEMETRY: 0
|
|
PLATFORMIO_SETTING_CHECK_PLATFORMIO_INTERVAL: 3650
|
|
PLATFORMIO_SETTING_CHECK_PRUNE_SYSTEM_THRESHOLD: 10240
|
|
|
|
- name: Mangle platformio cache
|
|
# Add "1" to epoch-timestamps of all downloads in the cache.
|
|
# This is a hack to prevent internet access at build-time.
|
|
run: |
|
|
cp pio/core/.cache/downloads/usage.db pio/core/.cache/downloads/usage.db.bak
|
|
jq -c 'with_entries(.value |= (. | tostring + "1" | tonumber))' pio/core/.cache/downloads/usage.db.bak > pio/core/.cache/downloads/usage.db
|
|
|
|
- name: Store binaries as an artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: platformio-deps-${{ inputs.pio_env }}-${{ steps.version.outputs.long }}
|
|
overwrite: true
|
|
include-hidden-files: true
|
|
path: |
|
|
pio/*
|