Update build workflow and add .actrc
API CI/CD / Validate (composer + pint) (push) Failing after 14s
API CI/CD / Test (PHPUnit) (push) Failing after 2s
API CI/CD / Build frontend assets (push) Failing after 29s
API CI/CD / Security audit (push) Failing after 1s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Failing after 14s
API CI/CD / Test (PHPUnit) (push) Failing after 2s
API CI/CD / Build frontend assets (push) Failing after 29s
API CI/CD / Security audit (push) Failing after 1s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -40,7 +40,7 @@ jobs:
|
||||
name: Validate (composer + pint)
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: php:8.3-cli
|
||||
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -86,7 +86,7 @@ jobs:
|
||||
name: Test (PHPUnit)
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: php:8.3-cli
|
||||
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -204,7 +204,7 @@ jobs:
|
||||
name: Security audit
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: php:8.3-cli
|
||||
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -251,7 +251,7 @@ jobs:
|
||||
name: Deploy to shared hosting (PHP)
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: php:8.3-cli
|
||||
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
||||
needs: [test, build, security]
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user