build(deps): bump ubuntu from 23.04 to 24.04 in /docker/volman #3321
This file contains 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/checkout@v3.5.2 | |
- name: Setup Arduino CLI | |
uses: arduino/setup-arduino-cli@v1.1.1 | |
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 |