20
20
]
21
21
steps :
22
22
- name : Harden Runner
23
- uses : step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
23
+ uses : step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
24
24
with :
25
25
disable-sudo : true
26
26
egress-policy : block
@@ -32,18 +32,18 @@ jobs:
32
32
repo.maven.apache.org:443
33
33
storage.googleapis.com:443
34
34
35
- - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
35
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
36
36
37
37
- name : Set up JDK ${{ matrix.java }}
38
- uses : actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11 .0
38
+ uses : actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12 .0
39
39
with :
40
40
java-version : ${{ matrix.java }}
41
41
distribution : temurin
42
42
43
43
- name : Setup Go
44
- uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
44
+ uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
45
45
with :
46
- go-version : ' 1.16 '
46
+ go-version : ' 1.21 '
47
47
48
48
- name : Build API with Maven
49
49
run : (cd functions-framework-api/ && mvn install)
@@ -55,48 +55,43 @@ jobs:
55
55
run : (cd function-maven-plugin/ && mvn install)
56
56
57
57
- name : Run HTTP conformance tests
58
- uses : GoogleCloudPlatform/functions-framework-conformance/action@2f5f319c06a3531be7f75dc5acf6bd00417ff76e # v1.8.2
58
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
59
59
with :
60
- version : ' v1.8.2'
61
60
functionType : ' http'
62
61
useBuildpacks : false
63
62
cmd : " 'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.HttpConformanceFunction'"
64
63
startDelay : 10
65
64
66
65
- name : Run Typed conformance tests
67
- uses : GoogleCloudPlatform/functions-framework-conformance/action@2f5f319c06a3531be7f75dc5acf6bd00417ff76e # v1.8.2
66
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
68
67
with :
69
- version : ' v1.8.2'
70
68
functionType : ' http'
71
69
declarativeType : ' typed'
72
70
useBuildpacks : false
73
71
cmd : " 'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.TypedConformanceFunction'"
74
72
startDelay : 10
75
73
76
74
- name : Run background event conformance tests
77
- uses : GoogleCloudPlatform/functions-framework-conformance/action@2f5f319c06a3531be7f75dc5acf6bd00417ff76e # v1.8.2
75
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
78
76
with :
79
- version : ' v1.8.2'
80
77
functionType : ' legacyevent'
81
78
useBuildpacks : false
82
79
validateMapping : true
83
80
cmd : " 'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.BackgroundEventConformanceFunction'"
84
81
startDelay : 10
85
82
86
83
- name : Run cloudevent conformance tests
87
- uses : GoogleCloudPlatform/functions-framework-conformance/action@2f5f319c06a3531be7f75dc5acf6bd00417ff76e # v1.8.2
84
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
88
85
with :
89
- version : ' v1.8.2'
90
86
functionType : ' cloudevent'
91
87
useBuildpacks : false
92
88
validateMapping : true
93
89
cmd : " 'mvn -f invoker/conformance/pom.xml function:run -Drun.functionTarget=com.google.cloud.functions.conformance.CloudEventsConformanceFunction'"
94
90
startDelay : 10
95
91
96
92
- name : Run HTTP concurrency conformance tests
97
- uses : GoogleCloudPlatform/functions-framework-conformance/action@2f5f319c06a3531be7f75dc5acf6bd00417ff76e # v1.8.2
93
+ uses : GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # main
98
94
with :
99
- version : ' v1.8.2'
100
95
functionType : ' http'
101
96
useBuildpacks : false
102
97
validateConcurrency : true
0 commit comments