Skip to content

Commit

Permalink
ci: fix workflows (#7252)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored May 2, 2024
1 parent b215690 commit 84658af
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- 4.x

env:
php-version: '8.2'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- next-major
- beta
- alpha
- 4.x

workflow_dispatch:

Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# name: Static analysis
name: Static analysis

# on:
# pull_request:
# types: [opened, synchronize, reopened]
on:
pull_request:
types: [opened, synchronize, reopened]

# workflow_run:
# workflows: ['Compress images']
# types: [completed]

# env:
# php-version: '8.2'
env:
php-version: '8.2'

# concurrency:
# group: Static analysis ${{ github.ref }}
# cancel-in-progress: true

# jobs:
# psalm:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4
jobs:
psalm:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

# - name: Setup PHP ${{ env.php-version }}
# uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -49,11 +49,11 @@
# run: vendor/bin/psalm --output-format=github


# phpstan:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

# - name: Setup PHP ${{ env.php-version }}
# uses: shivammathur/setup-php@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Unit tests

on:
push:
branches: [main]
branches:
- main
- 4.x
pull_request:
types: [opened, synchronize, reopened]
branches-ignore: ['l10n_main*']
Expand Down

0 comments on commit 84658af

Please sign in to comment.