Commit 06e3809
committed
minor symfony#15359 [CI] Make sure composer cache is properly used (Nyholm)
This PR was squashed before being merged into the 4.4 branch.
Discussion
----------
[CI] Make sure composer cache is properly used
PR symfony#15358 made sure we had a composer cache folder. This PR is making sure we use the cache properly.
Currently, we are using the following paths:
- `/var/workspace/`
- `/var/_checker/`
- `/var/_sf_app/`
The issue is that `hashFiles` only works for files in `/var/workspace/`. So I moved everything down one level.
- `/var/workspace/docs`
- `/var/workspace/_checker/`
- `/var/workspace/_sf_app/`
Now we will use the two new composer.lock files to know if we should save the github cache or not (ie if new dependencies were updated).
I think that the composer cache will contain many versions of a package. Ie, we dont need a separate cache for 4.4 and one of 5.2 etc.
Commits
-------
79a140b [CI] Make sure composer cache is properly used1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
130 | | - | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
137 | | - | |
138 | | - | |
| 142 | + | |
| 143 | + | |
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
142 | | - | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
147 | | - | |
148 | | - | |
| 152 | + | |
| 153 | + | |
149 | 154 | | |
150 | 155 | | |
151 | 156 | | |
152 | 157 | | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| 168 | + | |
162 | 169 | | |
163 | 170 | | |
0 commit comments