build(deps): bump node from 18.20.8-alpine to 25.2.1-alpine in /docker/automations #4061
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: arduino-test | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| - name: Cache Arduino CLI and libraries | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.arduino15 | |
| ~/Arduino/libraries | |
| key: arduino-${{ runner.os }}-${{ hashFiles('arduino/arduino.ino') }} | |
| restore-keys: | | |
| arduino-${{ runner.os }}- | |
| - name: Setup Arduino CLI | |
| uses: arduino/[email protected] | |
| with: | |
| version: '0.6.x' | |
| - name: Install platform | |
| run: | | |
| arduino-cli core update-index | |
| arduino-cli core install arduino:avr | |
| arduino-cli lib install "Ethernet" | |
| arduino-cli lib install "PubSubClient" | |
| arduino-cli lib install "ArduinoJson" | |
| - name: Compile Sketch | |
| run: arduino-cli compile --fqbn arduino:avr:mega ./arduino/arduino.ino |