logging improvements #17
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
jobs: | |
ci: | |
name: Building ${{ matrix.file }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
file: | |
- tesla-ble-m5stack-atoms3.yml | |
- tesla-ble-m5stack-nanoc6.yml | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Mock secrets.yaml from example | |
run: cp secrets.yaml.example secrets.yaml | |
- name: Get ESPHome version | |
id: get_esphome_version | |
# read esphome version from requirements.txt | |
run: | | |
esphome_version=$(grep esphome requirements.txt | cut -d'=' -f3) | |
echo "esphome_version=$esphome_version" >> "$GITHUB_OUTPUT" | |
- name: Build ESPHome firmware to verify configuration | |
uses: esphome/build-action@v3.2.0 | |
with: | |
yaml_file: ${{ matrix.file }} | |
cache: true | |
version: ${{ steps.get_esphome_version.outputs.esphome_version }} |