Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 20 additions & 34 deletions .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,14 @@
php:
- '8.1'
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
- uses: ibexa/gh-workflows/actions/composer-install@main

Check failure on line 21 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ7gn9-JBIbLM0SHFDDK&open=AZ7gn9-JBIbLM0SHFDDK&pullRequest=83
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: 'pdo_sqlite, gd'
tools: cs2pr

- uses: ramsey/composer-install@v3
with:
dependency-versions: highest
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}

- name: Run code style check
run: composer run-script check-cs -- --format=checkstyle | cs2pr
Expand All @@ -43,19 +38,14 @@
- '8.3'
- '8.4'
steps:
- uses: actions/checkout@v5

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: 'pdo_sqlite, gd'
tools: cs2pr
- uses: actions/checkout@v7

- uses: ramsey/composer-install@v3
- uses: ibexa/gh-workflows/actions/composer-install@main

Check failure on line 43 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ7gn9-JBIbLM0SHFDDL&open=AZ7gn9-JBIbLM0SHFDDL&pullRequest=83
with:
dependency-versions: highest
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}

- name: Run PHPStan analysis
run: composer run-script phpstan
Expand All @@ -75,19 +65,14 @@
composer_options: [ "" ]

steps:
- uses: actions/checkout@v5

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: pdo_sqlite, gd
tools: cs2pr
- uses: actions/checkout@v7

- uses: ramsey/composer-install@v3
- uses: ibexa/gh-workflows/actions/composer-install@main

Check failure on line 70 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ7gn9-JBIbLM0SHFDDM&open=AZ7gn9-JBIbLM0SHFDDM&pullRequest=83
with:
dependency-versions: highest
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}
composer-options: "${{ matrix.composer_options }}"

- name: Setup problem matchers for PHPUnit
Expand All @@ -98,4 +83,5 @@

integration-tests:
name: "REST integration tests"
uses: ibexa/rest/.github/workflows/integration-tests-callable.yaml@4.6
uses: ibexa/rest/.github/workflows/integration-tests-callable.yaml@ibx-11778-update-gha

Check failure on line 86 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ7gn9-JBIbLM0SHFDDN&open=AZ7gn9-JBIbLM0SHFDDN&pullRequest=83
secrets: inherit

Check warning on line 87 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Only pass required secrets to this workflow.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ7gn9-JBIbLM0SHFDDJ&open=AZ7gn9-JBIbLM0SHFDDJ&pullRequest=83
Loading