Skip to content

Commit f941eb8

Browse files
authored
Merge pull request #288 from adonno/adonno-patch-1
Update ci.yaml
2 parents 85bbc7c + bf09c00 commit f941eb8

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,34 @@ name: CI
22

33
on:
44
pull_request:
5-
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
8+
cancel-in-progress: true
9+
610
jobs:
711
ci:
12+
name: Building ${{ matrix.file }} / ${{ matrix.esphome-version }}
813
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
max-parallel: 3
17+
matrix:
18+
#### Modify below here to match your project ####
19+
file:
20+
- tagreader
21+
esphome-version:
22+
- stable
23+
- beta
24+
- dev
25+
#### Modify above here to match your project ####
26+
27+
928
steps:
10-
- uses: actions/checkout@v2
11-
- uses: esphome/build-action@v1.1.0
29+
- name: Checkout source code
30+
uses: actions/checkout@v4.2.2
31+
- name: ESPHome ${{ matrix.esphome-version }}
32+
uses: esphome/build-action@v6.0.0
1233
with:
13-
yaml_file: tagreader.yaml
34+
yaml-file: ${{ matrix.file }}.yaml
35+
version: ${{ matrix.esphome-version }}

0 commit comments

Comments
 (0)