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:
@@ -0,0 +1,2 @@
|
|||||||
|
-P ubuntu-latest=catthehacker/ubuntu:act-latest
|
||||||
|
--artifact-server-path=/tmp/act-artifacts
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
name: Validate (composer + pint)
|
name: Validate (composer + pint)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: php:8.3-cli
|
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -86,7 +86,7 @@ jobs:
|
|||||||
name: Test (PHPUnit)
|
name: Test (PHPUnit)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: php:8.3-cli
|
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -204,7 +204,7 @@ jobs:
|
|||||||
name: Security audit
|
name: Security audit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: php:8.3-cli
|
image: mcr.microsoft.com/devcontainers/php:8.3
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -251,7 +251,7 @@ jobs:
|
|||||||
name: Deploy to shared hosting (PHP)
|
name: Deploy to shared hosting (PHP)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
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'
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
||||||
needs: [test, build, security]
|
needs: [test, build, security]
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user