6
6
pull_request :
7
7
push :
8
8
branches :
9
- - " 2.0 .x"
9
+ - " 2.1 .x"
10
10
tags :
11
- - ' 2.0 .*'
11
+ - ' 2.1 .*'
12
12
13
13
concurrency :
14
14
group : phar-${{ github.ref }} # will be canceled on subsequent pushes in both branches and pull requests
@@ -77,14 +77,14 @@ jobs:
77
77
- name : " Composer dump"
78
78
run : " composer install --no-interaction --no-progress"
79
79
env :
80
- COMPOSER_ROOT_VERSION : " 2.0 .x-dev"
80
+ COMPOSER_ROOT_VERSION : " 2.1 .x-dev"
81
81
82
82
- name : " Compile PHAR for checksum"
83
83
working-directory : " compiler/build"
84
84
run : " php box.phar compile --no-parallel"
85
85
env :
86
86
PHAR_CHECKSUM : " 1"
87
- COMPOSER_ROOT_VERSION : " 2.0 .x-dev"
87
+ COMPOSER_ROOT_VERSION : " 2.1 .x-dev"
88
88
89
89
- name : " Re-sign PHAR"
90
90
run : " php compiler/build/resign.php tmp/phpstan.phar"
@@ -107,30 +107,30 @@ jobs:
107
107
integration-tests :
108
108
if : github.event_name == 'pull_request'
109
109
needs : compiler-tests
110
- uses : phpstan/phpstan/.github/workflows/integration-tests.yml@2.0 .x
110
+ uses : phpstan/phpstan/.github/workflows/integration-tests.yml@2.1 .x
111
111
with :
112
- ref : 2.0 .x
112
+ ref : 2.1 .x
113
113
phar-checksum : ${{needs.compiler-tests.outputs.checksum}}
114
114
115
115
extension-tests :
116
116
if : github.event_name == 'pull_request'
117
117
needs : compiler-tests
118
- uses : phpstan/phpstan/.github/workflows/extension-tests.yml@2.0 .x
118
+ uses : phpstan/phpstan/.github/workflows/extension-tests.yml@2.1 .x
119
119
with :
120
- ref : 2.0 .x
120
+ ref : 2.1 .x
121
121
phar-checksum : ${{needs.compiler-tests.outputs.checksum}}
122
122
123
123
other-tests :
124
124
if : github.event_name == 'pull_request'
125
125
needs : compiler-tests
126
- uses : phpstan/phpstan/.github/workflows/other-tests.yml@2.0 .x
126
+ uses : phpstan/phpstan/.github/workflows/other-tests.yml@2.1 .x
127
127
with :
128
- ref : 2.0 .x
128
+ ref : 2.1 .x
129
129
phar-checksum : ${{needs.compiler-tests.outputs.checksum}}
130
130
131
131
commit :
132
132
name : " Commit PHAR"
133
- if : " github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.0 .x' || startsWith(github.ref, 'refs/tags/'))"
133
+ if : " github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.1 .x' || startsWith(github.ref, 'refs/tags/'))"
134
134
needs : compiler-tests
135
135
runs-on : " ubuntu-latest"
136
136
timeout-minutes : 60
@@ -152,7 +152,7 @@ jobs:
152
152
repository : phpstan/phpstan
153
153
path : phpstan-dist
154
154
token : ${{ secrets.PHPSTAN_BOT_TOKEN }}
155
- ref : 2.0 .x
155
+ ref : 2.1 .x
156
156
157
157
- name : " Get previous pushed dist commit"
158
158
id : previous-commit
0 commit comments