Skip to content

Commit

Permalink
Open 2.1.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Dec 21, 2024
1 parent 46b9819 commit 1892dc9
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backward-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
push:
branches:
- "2.0.x"
- "2.1.x"
paths:
- 'src/**'
- '.github/workflows/backward-compatibility.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '.github/workflows/build-issue-bot.yml'
push:
branches:
- "2.0.x"
- "2.1.x"
paths:
- 'issue-bot/**'
- '.github/workflows/build-issue-bot.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '.github/workflows/changelog-generator.yml'
push:
branches:
- "2.0.x"
- "2.1.x"
paths:
- 'changelog-generator/**'
- '.github/workflows/changelog-generator.yml'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/checksum-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/checksum-phar.yml'
push:
branches:
- "2.0.x"
- "2.1.x"
paths:
- 'compiler/**'
- '.github/workflows/checksum-phar.yml'
Expand All @@ -34,7 +34,7 @@ jobs:
with:
repository: phpstan/phpstan
path: phpstan-dist
ref: 2.0.x
ref: 2.1.x

- name: "Get info"
id: info
Expand Down Expand Up @@ -98,14 +98,14 @@ jobs:
- name: "Composer dump"
run: "composer install --no-interaction --no-progress"
env:
COMPOSER_ROOT_VERSION: "2.0.x-dev"
COMPOSER_ROOT_VERSION: "2.1.x-dev"

- name: "Compile PHAR for checksum"
working-directory: "compiler/build"
run: "php box.phar compile --no-parallel"
env:
PHAR_CHECKSUM: "1"
COMPOSER_ROOT_VERSION: "2.0.x-dev"
COMPOSER_ROOT_VERSION: "2.1.x-dev"

- name: "Re-sign PHAR"
run: "php compiler/build/resign.php tmp/phpstan.phar"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'issue-bot/**'
push:
branches:
- "2.0.x"
- "2.1.x"
paths-ignore:
- 'compiler/**'
- 'apigen/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
push:
branches:
- "2.0.x"
- "2.1.x"

concurrency:
group: lint-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
pull_request:
push:
branches:
- "2.0.x"
- "2.1.x"
tags:
- '2.0.*'
- '2.1.*'

concurrency:
group: phar-${{ github.ref }} # will be canceled on subsequent pushes in both branches and pull requests
Expand Down Expand Up @@ -77,14 +77,14 @@ jobs:
- name: "Composer dump"
run: "composer install --no-interaction --no-progress"
env:
COMPOSER_ROOT_VERSION: "2.0.x-dev"
COMPOSER_ROOT_VERSION: "2.1.x-dev"

- name: "Compile PHAR for checksum"
working-directory: "compiler/build"
run: "php box.phar compile --no-parallel"
env:
PHAR_CHECKSUM: "1"
COMPOSER_ROOT_VERSION: "2.0.x-dev"
COMPOSER_ROOT_VERSION: "2.1.x-dev"

- name: "Re-sign PHAR"
run: "php compiler/build/resign.php tmp/phpstan.phar"
Expand All @@ -107,30 +107,30 @@ jobs:
integration-tests:
if: github.event_name == 'pull_request'
needs: compiler-tests
uses: phpstan/phpstan/.github/workflows/integration-tests.yml@2.0.x
uses: phpstan/phpstan/.github/workflows/integration-tests.yml@2.1.x
with:
ref: 2.0.x
ref: 2.1.x
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}

extension-tests:
if: github.event_name == 'pull_request'
needs: compiler-tests
uses: phpstan/phpstan/.github/workflows/extension-tests.yml@2.0.x
uses: phpstan/phpstan/.github/workflows/extension-tests.yml@2.1.x
with:
ref: 2.0.x
ref: 2.1.x
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}

other-tests:
if: github.event_name == 'pull_request'
needs: compiler-tests
uses: phpstan/phpstan/.github/workflows/other-tests.yml@2.0.x
uses: phpstan/phpstan/.github/workflows/other-tests.yml@2.1.x
with:
ref: 2.0.x
ref: 2.1.x
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}

commit:
name: "Commit PHAR"
if: "github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.0.x' || startsWith(github.ref, 'refs/tags/'))"
if: "github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.1.x' || startsWith(github.ref, 'refs/tags/'))"
needs: compiler-tests
runs-on: "ubuntu-latest"
timeout-minutes: 60
Expand All @@ -152,7 +152,7 @@ jobs:
repository: phpstan/phpstan
path: phpstan-dist
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
ref: 2.0.x
ref: 2.1.x

- name: "Get previous pushed dist commit"
id: previous-commit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reflection-golden-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'issue-bot/**'
push:
branches:
- "2.0.x"
- "2.1.x"
paths-ignore:
- 'compiler/**'
- 'apigen/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
push:
branches:
- "2.0.x"
- "2.1.x"

jobs:
typos:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'apigen/**'
push:
branches:
- "2.0.x"
- "2.1.x"
paths-ignore:
- 'compiler/**'
- 'apigen/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'issue-bot/**'
push:
branches:
- "2.0.x"
- "2.1.x"
paths-ignore:
- 'compiler/**'
- 'apigen/**'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"symfony/string": "^5.4.3"
},
"replace": {
"phpstan/phpstan": "2.0.x",
"phpstan/phpstan": "2.1.x",
"symfony/polyfill-php73": "*"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1892dc9

Please sign in to comment.