Change from depreciated service calls to new actions #19
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: CI | |
| on: | |
| pull_request: | |
| permissions: | |
| # Allow GITHUB_TOKEN to add labels to pull requests | |
| pull-requests: write | |
| issues: write | |
| contents: read | |
| id-token: write | |
| jobs: | |
| label-check: | |
| name: Label Check | |
| uses: ApolloAutomation/Workflows/.github/workflows/label-check.yml@main | |
| ci: | |
| name: Building ${{ matrix.file }} / ESPHome ${{ matrix.esphome-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| file: | |
| - Integrations/ESPHome/PUMP-1.yaml | |
| - Integrations/ESPHome/PUMP-1_Minimal.yaml | |
| esphome-version: | |
| - stable | |
| - beta | |
| - dev | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/[email protected] | |
| - name: Build ESPHome firmware to verify configuration | |
| uses: esphome/build-action@v7 | |
| with: | |
| yaml-file: ${{ matrix.file }} |