File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : backwards compatibility
2+
13on :
24 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'
5+ paths : &paths
6+ - ' config/**'
7+ - ' src/**'
8+ - ' composer.json'
9+ - ' .github/workflows/bc.yml'
1210 push :
1311 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'
23-
24- name : backwards compatibility
12+ paths : *paths
2513
2614permissions :
2715 contents : read
2816
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
2921jobs :
3022 roave_bc_check :
3123 uses : yiisoft/actions/.github/workflows/bc.yml@master
Original file line number Diff line number Diff line change 1+ name : build
2+
13on :
24 pull_request :
3- paths-ignore :
4- - ' docs/**'
5- - ' README.md'
6- - ' CHANGELOG.md'
7- - ' .gitignore'
8- - ' .gitattributes'
9- - ' infection.json.dist'
10- - ' psalm.xml'
11-
5+ paths : &paths
6+ - ' config/**'
7+ - ' src/**'
8+ - ' tests/**'
9+ - ' phpunit.xml.dist'
10+ - ' composer.json'
11+ - ' .github/workflows/build.yml'
1212 push :
1313 branches : ['master']
14- paths-ignore :
15- - ' docs/**'
16- - ' README.md'
17- - ' CHANGELOG.md'
18- - ' .gitignore'
19- - ' .gitattributes'
20- - ' infection.json.dist'
21- - ' psalm.xml'
22-
23- name : build
14+ paths : *paths
2415
2516permissions :
2617 contents : read
2718
19+ concurrency :
20+ group : ${{ github.workflow }}-${{ github.ref }}
21+ cancel-in-progress : true
22+
2823jobs :
2924 phpunit :
3025 uses : yiisoft/actions/.github/workflows/phpunit.yml@master
3126 secrets :
32- codecovToken : ${{ secrets.CODECOV_TOKEN }}
27+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3328 with :
3429 ini-values : pcov.directory=$GITHUB_WORKSPACE, pcov.exclude=#^(?!($GITHUB_WORKSPACE/config/|$GITHUB_WORKSPACE/src/)).*#
3530 os : >-
Original file line number Diff line number Diff line change 1+ name : Composer require checker
2+
13on :
24 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-
5+ paths : &paths
6+ - ' config/**'
7+ - ' src/**'
8+ - ' tests/**'
9+ - ' composer.json'
10+ - ' .github/workflows/composer-require-checker.yml'
1311 push :
1412 branches : ['master']
15- paths-ignore :
16- - ' docs/**'
17- - ' README.md'
18- - ' CHANGELOG.md'
19- - ' .gitignore'
20- - ' .gitattributes'
21- - ' infection.json.dist'
22- - ' phpunit.xml.dist'
23- - ' psalm.xml'
24-
25- name : Composer require checker
13+ paths : *paths
2614
2715permissions :
2816 contents : read
2917
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
21+
3022jobs :
3123 composer-require-checker :
3224 uses : yiisoft/actions/.github/workflows/composer-require-checker.yml@master
Original file line number Diff line number Diff line change 1+ name : mutation test
2+
13on :
24 pull_request :
3- paths-ignore :
4- - ' docs /**'
5- - ' README.md '
6- - ' CHANGELOG.md '
7- - ' .gitignore '
8- - ' .gitattributes '
9- - ' psalm.xml '
10-
5+ paths : &paths
6+ - ' config /**'
7+ - ' src/** '
8+ - ' tests/** '
9+ - ' phpunit.xml.dist '
10+ - ' infection.json.dist '
11+ - ' composer.json '
12+ - ' .github/workflows/mutation.yml '
1113 push :
1214 branches : ['master']
13- paths-ignore :
14- - ' docs/**'
15- - ' README.md'
16- - ' CHANGELOG.md'
17- - ' .gitignore'
18- - ' .gitattributes'
19- - ' psalm.xml'
20-
21- name : mutation test
15+ paths : *paths
2216
2317permissions :
2418 contents : read
2519
20+ concurrency :
21+ group : ${{ github.workflow }}-${{ github.ref }}
22+ cancel-in-progress : true
23+
2624jobs :
2725 mutation :
2826 uses : yiisoft/actions/.github/workflows/roave-infection.yml@master
Original file line number Diff line number Diff line change 1+ name : static analysis
2+
13on :
24 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-
5+ paths : &paths
6+ - ' config/**'
7+ - ' src/**'
8+ - ' psalm.xml'
9+ - ' composer.json'
10+ - ' .github/workflows/static.yml'
1211 push :
1312 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-
23- name : static analysis
13+ paths : *paths
2414
2515permissions :
2616 contents : read
2717
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
21+
2822jobs :
2923 psalm :
3024 uses : yiisoft/actions/.github/workflows/psalm.yml@master
Original file line number Diff line number Diff line change 11name : GitHub Actions Security Analysis with zizmor 🌈
22
33on :
4- push :
5- branches :
6- - master
7- - main
8- paths :
9- - ' .github/**.yml'
10- - ' .github/**.yaml'
114 pull_request :
12- paths :
5+ paths : &paths
136 - ' .github/**.yml'
147 - ' .github/**.yaml'
8+ push :
9+ branches : ['master']
10+ paths : *paths
1511
1612permissions :
17- actions : read # Required by zizmor when reading workflow metadata through the API.
18- contents : read # Required to read workflow files.
13+ actions : read # Required by zizmor when reading workflow metadata through the API
14+ contents : read # Required to read workflow files
15+
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : true
1919
2020jobs :
2121 zizmor :
You can’t perform that action at this time.
0 commit comments