Skip to content

Commit 46b059d

Browse files
authored
Improve GitHub CI (#135)
1 parent 8c3fb35 commit 46b059d

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

.github/workflows/bc.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
on:
2-
- pull_request
3-
- push
2+
pull_request:
3+
paths-ignore:
4+
- 'docs/**'
5+
- 'README.md'
6+
- 'CHANGELOG.md'
7+
- '.gitignore'
8+
- '.gitattributes'
9+
- 'infection.json.dist'
10+
- 'phpunit.xml.dist'
11+
- 'psalm.xml'
12+
push:
13+
branches: ['master']
14+
paths-ignore:
15+
- 'docs/**'
16+
- 'README.md'
17+
- 'CHANGELOG.md'
18+
- '.gitignore'
19+
- '.gitattributes'
20+
- 'infection.json.dist'
21+
- 'phpunit.xml.dist'
22+
- 'psalm.xml'
423

524
name: backwards compatibility
25+
626
jobs:
727
roave_bc_check:
828
uses: yiisoft/actions/.github/workflows/bc.yml@master

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'psalm.xml'
1111

1212
push:
13+
branches: ['master']
1314
paths-ignore:
1415
- 'docs/**'
1516
- 'README.md'
@@ -24,8 +25,10 @@ name: build
2425
jobs:
2526
phpunit:
2627
uses: yiisoft/actions/.github/workflows/phpunit.yml@master
28+
secrets:
29+
codecovToken: ${{ secrets.CODECOV_TOKEN }}
2730
with:
2831
os: >-
2932
['ubuntu-latest', 'windows-latest']
3033
php: >-
31-
['8.0', '8.1', '8.2']
34+
['8.0', '8.1', '8.2', '8.3']

.github/workflows/composer-require-checker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- 'psalm.xml'
1212

1313
push:
14+
branches: ['master']
1415
paths-ignore:
1516
- 'docs/**'
1617
- 'README.md'
@@ -30,4 +31,4 @@ jobs:
3031
os: >-
3132
['ubuntu-latest']
3233
php: >-
33-
['8.0', '8.1', '8.2']
34+
['8.0', '8.1', '8.2', '8.3']

.github/workflows/mutation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- 'psalm.xml'
1010

1111
push:
12+
branches: ['master']
1213
paths-ignore:
1314
- 'docs/**'
1415
- 'README.md'

0 commit comments

Comments
 (0)