Documentation for TTN and Helium (#12) #60
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: T-Beam LoRaWan Mapper CI Build | |
| on: | |
| push: | |
| paths: | |
| - "main/**" | |
| - "platformio.ini" | |
| - ".github/workflows/build.yml" | |
| pull_request: | |
| paths: | |
| - "main/**" | |
| - "platformio.ini" | |
| - ".github/workflows/build.yml" | |
| jobs: | |
| platformio: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache pip | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip- | |
| - name: Cache PlatformIO | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.platformio | |
| key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| - name: Install PlatformIO | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install --upgrade platformio | |
| - name: Run PlatformIO | |
| run: pio run | |
| - name: Run PlatformIO dependency check | |
| run: pio pkg outdated |