File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ updates :
4
+ - package-ecosystem : " composer"
5
+ directory : " /"
6
+ allow :
7
+ - dependency-type : " development"
8
+ schedule :
9
+ interval : " daily"
10
+ time : " 05:00"
11
+ timezone : " Europe/Vienna"
12
+ labels :
13
+ - " composer dependencies"
14
+
15
+ - package-ecosystem : " github-actions"
16
+ directory : " /"
17
+ schedule :
18
+ interval : " weekly"
19
+ day : " monday"
20
+ time : " 05:00"
21
+ timezone : " Europe/Vienna"
22
+ labels :
23
+ - " github actions"
Original file line number Diff line number Diff line change 16
16
strategy :
17
17
matrix :
18
18
php-version : ['7.4', '8.0', '8.1']
19
+ include :
20
+ - php-version : ' 8.1'
21
+ run-sonarqube-analysis : true
19
22
20
23
steps :
21
24
- uses : actions/checkout@v2
41
44
echo "::set-output name=dir::$(composer config cache-files-dir)"
42
45
43
46
- name : Cache Composer dependencies
44
- uses : actions/cache@v2
47
+ uses : actions/cache@v3
45
48
with :
46
49
path : ${{ steps.composer-cache.outputs.dir }}
47
50
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
55
58
56
59
- name : Run SonarQube analysis
57
60
uses : sonarsource/sonarcloud-github-action@master
58
- if : matrix.php-version == '8.1'
61
+ if : matrix.run-sonarqube-analysis
59
62
env :
60
63
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
64
SONAR_TOKEN : ${{ secrets.SONARCLOUD_TOKEN }}
You can’t perform that action at this time.
0 commit comments