-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 864 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
name: CI
on:
workflow_dispatch:
push:
branches:
- main
release:
types: published
pull_request:
branches: ["main"]
jobs:
static:
name: Static Check
uses: kilip/gh-php-common/.github/workflows/static-check.yaml@main
with:
php_version: 8.3
commitlint: true
phpstan: true
phpcsfixer: true
secrets: inherit
testing:
needs: ["static"]
name: Testing
uses: kilip/gh-php-common/.github/workflows/testing.yaml@main
with:
pre_run: |
./bin/console --version
codecov: true
postgres: true
secrets: inherit
build:
needs: ["testing"]
name: Build
uses: kilip/gh-php-common/.github/workflows/build-image.yaml@main
secrets: inherit
with:
goss: true
description: API Template Container
goss_file: ./frankenphp/goss.yaml