chore(deps): update pre-commit #427
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: 🔨 Compile Sketch | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
compile-sketch: | |
name: ${{ matrix.fqbn }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
fqbn: | |
- esp8266:esp8266:nodemcuv2 | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Prepare Arduino IDE compatibility | |
run: | | |
cd scripts | |
sh migrate_to_ino.sh | |
- name: Compile sketch | |
uses: arduino/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fqbn: ${{ matrix.fqbn }} | |
platforms: | | |
- name: esp8266:esp8266 | |
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json | |
sketch-paths: | | |
- ./esp8266-wifi-participant | |
cli-compile-flags: | | |
- --preprocess |