@@ -48,51 +48,58 @@ jobs:
48
48
- name : Setup Go
49
49
uses : actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
50
50
with :
51
- go-version : ' 1.15 '
51
+ go-version : ' 1.20 '
52
52
53
53
- name : Run HTTP conformance tests
54
- uses : GoogleCloudPlatform/functions-framework-conformance/action@e42b1533877f1b639f508ec7fbcfb5be31aca663 # v1.2.1
54
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@5f2a796b58f099d749e70ecc83f531f6701c64af # v1.8.3
55
55
env :
56
56
FUNCTION_TARGET : ' httpFunc'
57
57
FUNCTION_SIGNATURE_TYPE : ' http'
58
58
FUNCTION_SOURCE : ${{ github.workspace }}/tests/conformance/index.php
59
59
with :
60
- version : ' v1.2.1'
61
60
functionType : ' http'
62
61
useBuildpacks : false
63
62
cmd : " 'php -S localhost:8080 router.php'"
64
63
65
64
- name : Run Declarative HTTP conformance tests
66
- uses : GoogleCloudPlatform/functions-framework-conformance/action@e42b1533877f1b639f508ec7fbcfb5be31aca663 # v1.2.1
65
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@5f2a796b58f099d749e70ecc83f531f6701c64af # v1.8.3
67
66
env :
68
67
FUNCTION_TARGET : ' declarativeHttpFunc'
69
68
FUNCTION_SOURCE : ${{ github.workspace }}/tests/conformance/index.php
70
69
with :
71
- version : ' v1.2.1'
72
70
functionType : ' http'
73
71
useBuildpacks : false
74
72
cmd : " 'php -S localhost:8080 router.php'"
73
+
74
+ - name : Run Declarative Typed conformance tests
75
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@5f2a796b58f099d749e70ecc83f531f6701c64af # v1.8.3
76
+ env :
77
+ FUNCTION_TARGET : ' declarativeTypedFunc'
78
+ FUNCTION_SOURCE : ${{ github.workspace }}/tests/conformance/index.php
79
+ with :
80
+ functionType : ' http'
81
+ declarativeType : ' typed'
82
+ useBuildpacks : false
83
+ cmd : " 'php -S localhost:8080 router.php'"
75
84
76
85
- name : Run CloudEvent conformance tests
77
- uses : GoogleCloudPlatform/functions-framework-conformance/action@e42b1533877f1b639f508ec7fbcfb5be31aca663 # v1.2.1
86
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@5f2a796b58f099d749e70ecc83f531f6701c64af # v1.8.3
78
87
env :
79
88
FUNCTION_TARGET : ' cloudEventFunc'
80
89
FUNCTION_SIGNATURE_TYPE : ' cloudevent'
81
90
FUNCTION_SOURCE : ${{ github.workspace }}/tests/conformance/index.php
82
91
with :
83
- version : ' v1.2.1'
84
92
functionType : ' cloudevent'
85
93
useBuildpacks : false
86
94
validateMapping : true
87
95
cmd : " 'php -S localhost:8080 router.php'"
88
96
89
97
- name : Run Declarative CloudEvent conformance tests
90
- uses : GoogleCloudPlatform/functions-framework-conformance/action@e42b1533877f1b639f508ec7fbcfb5be31aca663 # v1.2.1
98
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@5f2a796b58f099d749e70ecc83f531f6701c64af # v1.2.1
91
99
env :
92
100
FUNCTION_TARGET : ' declarativeCloudEventFunc'
93
101
FUNCTION_SOURCE : ${{ github.workspace }}/tests/conformance/index.php
94
102
with :
95
- version : ' v1.2.1'
96
103
functionType : ' cloudevent'
97
104
useBuildpacks : false
98
105
validateMapping : true
0 commit comments