Skip to content

Commit

Permalink
Open 1.7-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Apr 28, 2022
1 parent c900ee2 commit f8be122
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backward-compatibility.yml
Expand Up @@ -6,10 +6,10 @@ on:
pull_request:
push:
branches:
- "1.6.x"
- "1.7.x"

env:
COMPOSER_ROOT_VERSION: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.x-dev"

concurrency:
group: bc-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Expand Up @@ -8,12 +8,12 @@ on:
- 'compiler/**'
push:
branches:
- "1.6.x"
- "1.7.x"
paths-ignore:
- 'compiler/**'

env:
COMPOSER_ROOT_VERSION: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.x-dev"

concurrency:
group: e2e-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Expand Up @@ -6,10 +6,10 @@ on:
pull_request:
push:
branches:
- "1.6.x"
- "1.7.x"

env:
COMPOSER_ROOT_VERSION: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.x-dev"

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
Expand Up @@ -6,9 +6,9 @@ on:
pull_request:
push:
branches:
- "1.6.x"
- "1.7.x"
tags:
- '1.6.*'
- '1.7.*'

concurrency:
group: phar-${{ github.ref }} # will be canceled on subsequent pushes in both branches and pull requests
Expand Down Expand Up @@ -93,14 +93,14 @@ jobs:
- name: "Composer dump"
run: "composer install --no-interaction --no-progress"
env:
COMPOSER_ROOT_VERSION: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.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: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.x-dev"

- name: "Re-sign PHAR"
run: "php compiler/build/resign.php tmp/phpstan.phar"
Expand All @@ -123,29 +123,29 @@ jobs:
integration-tests:
if: github.event_name == 'pull_request'
needs: compiler-tests
uses: phpstan/phpstan/.github/workflows/integration-tests.yml@1.6.x
uses: phpstan/phpstan/.github/workflows/integration-tests.yml@1.7.x
with:
ref: 1.6.x
ref: 1.7.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@1.6.x
uses: phpstan/phpstan/.github/workflows/extension-tests.yml@1.7.x
with:
ref: 1.6.x
ref: 1.7.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@1.6.x
uses: phpstan/phpstan/.github/workflows/other-tests.yml@1.7.x
with:
ref: 1.6.x
ref: 1.7.x
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}

commit:
if: "github.ref == 'refs/heads/1.6.x' || startsWith(github.ref, 'refs/tags/')"
if: "github.ref == 'refs/heads/1.7.x' || startsWith(github.ref, 'refs/tags/')"
needs: compiler-tests
name: "Commit PHAR"
runs-on: "ubuntu-latest"
Expand All @@ -166,7 +166,7 @@ jobs:
repository: phpstan/phpstan
path: phpstan-dist
token: ${{ secrets.PAT }}
ref: 1.6.x
ref: 1.7.x

- name: "Check PHAR checksum"
id: checksum-difference
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Expand Up @@ -8,12 +8,12 @@ on:
- 'compiler/**'
push:
branches:
- "1.6.x"
- "1.7.x"
paths-ignore:
- 'compiler/**'

env:
COMPOSER_ROOT_VERSION: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.x-dev"

concurrency:
group: sa-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -8,12 +8,12 @@ on:
- 'compiler/**'
push:
branches:
- "1.6.x"
- "1.7.x"
paths-ignore:
- 'compiler/**'

env:
COMPOSER_ROOT_VERSION: "1.6.x-dev"
COMPOSER_ROOT_VERSION: "1.7.x-dev"

concurrency:
group: tests-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
Expand Down

0 comments on commit f8be122

Please sign in to comment.