File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 42
42
echo "::set-output name=date::$(date "+%m")"
43
43
44
44
- uses : actions/cache@v2
45
+ id : cache
45
46
with :
46
47
path : ${{ steps.composer-cache.outputs.dir }}
47
48
key : ${{ runner.os }}-composer-${{ steps.composer-cache.outputs.date }}-${{ matrix.php-versions }}-${{ hashFiles('**/composer.json') }}
69
70
run : composer run-script phpunit
70
71
71
72
# Ensure the next test run fetches the latest test ruleset.
72
- - name : Remove httpwg/structured-header-tests from composer cache
73
+ - name : Cleanup composer cache
74
+ if : steps.cache.outputs.cache-hit != 'true'
73
75
run : rm -rf $(composer config cache-files-dir)/httpwg
74
76
75
77
- name : Upload code coverage report
Original file line number Diff line number Diff line change 30
30
},
31
31
"require-dev" : {
32
32
"ext-json" : " *" ,
33
- "httpwg/structured-header -tests" : " *@dev" ,
33
+ "httpwg/structured-field -tests" : " *@dev" ,
34
34
"paragonie/constant_time_encoding" : " ^2.3" ,
35
35
"phpunit/phpunit" : " ^8.5 || ^9.1" ,
36
36
"squizlabs/php_codesniffer" : " ^3.5"
39
39
{
40
40
"type" : " package" ,
41
41
"package" : {
42
- "name" : " httpwg/structured-header -tests" ,
42
+ "name" : " httpwg/structured-field -tests" ,
43
43
"version" : " dev-master" ,
44
44
"dist" : {
45
- "url" : " https://github.com/httpwg/structured-header -tests/archive/master.zip" ,
45
+ "url" : " https://github.com/httpwg/structured-field -tests/archive/master.zip" ,
46
46
"type" : " zip"
47
47
},
48
48
"source" : {
49
- "url" :
" [email protected] :httpwg/structured-header -tests.git" ,
49
+ "url" :
" [email protected] :httpwg/structured-field -tests.git" ,
50
50
"type" : " git" ,
51
51
"reference" : " master"
52
52
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ abstract class RulesetTest extends TestCase
37
37
38
38
private function rulesetDataProvider ()
39
39
{
40
- $ path = __DIR__ . '/../vendor/httpwg/structured-header -tests/ ' . $ this ->ruleset . '.json ' ;
40
+ $ path = __DIR__ . '/../vendor/httpwg/structured-field -tests/ ' . $ this ->ruleset . '.json ' ;
41
41
if (!file_exists ($ path )) {
42
42
throw new \RuntimeException ('Ruleset file does not exist ' );
43
43
}
You can’t perform that action at this time.
0 commit comments