66 pull_request :
77 push :
88 branches :
9- - " 2.1 .x"
9+ - " 2.2 .x"
1010 tags :
11- - ' 2.1 .*'
11+ - ' 2.2 .*'
1212
1313concurrency :
1414 group : phar-${{ github.ref }} # will be canceled on subsequent pushes in both branches and pull requests
@@ -90,14 +90,14 @@ jobs:
9090
9191 - uses : " ramsey/composer-install@v3"
9292 env :
93- COMPOSER_ROOT_VERSION : " 2.1 .x-dev"
93+ COMPOSER_ROOT_VERSION : " 2.2 .x-dev"
9494
9595 - name : " Compile PHAR for checksum"
9696 working-directory : " compiler/build"
9797 run : " php ../box/vendor/bin/box compile --no-parallel --sort-compiled-files"
9898 env :
9999 PHAR_CHECKSUM : " 1"
100- COMPOSER_ROOT_VERSION : " 2.1 .x-dev"
100+ COMPOSER_ROOT_VERSION : " 2.2 .x-dev"
101101
102102 - name : " Re-sign PHAR"
103103 run : " php compiler/build/resign.php tmp/phpstan.phar"
@@ -129,25 +129,25 @@ jobs:
129129 integration-tests :
130130 if : github.event_name == 'pull_request'
131131 needs : compiler-tests
132- uses : phpstan/phpstan/.github/workflows/integration-tests.yml@2.1 .x
132+ uses : phpstan/phpstan/.github/workflows/integration-tests.yml@2.2 .x
133133 with :
134- ref : 2.1 .x
134+ ref : 2.2 .x
135135 phar-checksum : ${{needs.compiler-tests.outputs.checksum}}
136136
137137 extension-tests :
138138 if : github.event_name == 'pull_request'
139139 needs : compiler-tests
140- uses : phpstan/phpstan/.github/workflows/extension-tests.yml@2.1 .x
140+ uses : phpstan/phpstan/.github/workflows/extension-tests.yml@2.2 .x
141141 with :
142- ref : 2.1 .x
142+ ref : 2.2 .x
143143 phar-checksum : ${{needs.compiler-tests.outputs.checksum}}
144144
145145 other-tests :
146146 if : github.event_name == 'pull_request'
147147 needs : compiler-tests
148- uses : phpstan/phpstan/.github/workflows/other-tests.yml@2.1 .x
148+ uses : phpstan/phpstan/.github/workflows/other-tests.yml@2.2 .x
149149 with :
150- ref : 2.1 .x
150+ ref : 2.2 .x
151151 phar-checksum : ${{needs.compiler-tests.outputs.checksum}}
152152
153153 download-base-sha-phar :
@@ -278,7 +278,7 @@ jobs:
278278
279279 commit :
280280 name : " Commit PHAR"
281- if : " github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.1 .x' || startsWith(github.ref, 'refs/tags/'))"
281+ if : " github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.2 .x' || startsWith(github.ref, 'refs/tags/'))"
282282 needs : compiler-tests
283283 runs-on : " ubuntu-latest"
284284 timeout-minutes : 60
@@ -300,7 +300,7 @@ jobs:
300300 repository : phpstan/phpstan
301301 path : phpstan-dist
302302 token : ${{ secrets.PHPSTAN_BOT_TOKEN }}
303- ref : 2.1 .x
303+ ref : 2.2 .x
304304
305305 - name : " Get previous pushed dist commit"
306306 id : previous-commit
0 commit comments