|
12 | 12 | python: ['3.7', '3.8', '3.9', '3.10', '3.11']
|
13 | 13 | steps:
|
14 | 14 | - name: Harden Runner
|
15 |
| - uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0 |
| 15 | + uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1 |
16 | 16 | with:
|
17 | 17 | egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
18 | 18 |
|
|
33 | 33 | go-version: '1.16'
|
34 | 34 |
|
35 | 35 | - name: Run HTTP conformance tests
|
36 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 36 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
37 | 37 | with:
|
38 | 38 | version: 'v1.6.0'
|
39 | 39 | functionType: 'http'
|
|
42 | 42 | cmd: "'functions-framework --source tests/conformance/main.py --target write_http --signature-type http'"
|
43 | 43 |
|
44 | 44 | - name: Run event conformance tests
|
45 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 45 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
46 | 46 | with:
|
47 | 47 | version: 'v1.6.0'
|
48 | 48 | functionType: 'legacyevent'
|
|
51 | 51 | cmd: "'functions-framework --source tests/conformance/main.py --target write_legacy_event --signature-type event'"
|
52 | 52 |
|
53 | 53 | - name: Run CloudEvents conformance tests
|
54 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 54 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
55 | 55 | with:
|
56 | 56 | version: 'v1.6.0'
|
57 | 57 | functionType: 'cloudevent'
|
|
60 | 60 | cmd: "'functions-framework --source tests/conformance/main.py --target write_cloud_event --signature-type cloudevent'"
|
61 | 61 |
|
62 | 62 | - name: Run HTTP conformance tests declarative
|
63 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 63 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
64 | 64 | with:
|
65 | 65 | version: 'v1.6.0'
|
66 | 66 | functionType: 'http'
|
|
69 | 69 | cmd: "'functions-framework --source tests/conformance/main.py --target write_http_declarative'"
|
70 | 70 |
|
71 | 71 | - name: Run CloudEvents conformance tests declarative
|
72 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 72 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
73 | 73 | with:
|
74 | 74 | version: 'v1.6.0'
|
75 | 75 | functionType: 'cloudevent'
|
|
78 | 78 | cmd: "'functions-framework --source tests/conformance/main.py --target write_cloud_event_declarative'"
|
79 | 79 |
|
80 | 80 | - name: Run HTTP concurrency tests declarative
|
81 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 81 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
82 | 82 | with:
|
83 | 83 | version: 'v1.6.0'
|
84 | 84 | functionType: 'http'
|
|
87 | 87 | cmd: "'functions-framework --source tests/conformance/main.py --target write_http_declarative_concurrent'"
|
88 | 88 |
|
89 | 89 | - name: Run Typed tests declarative
|
90 |
| - uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0 |
| 90 | + uses: GoogleCloudPlatform/functions-framework-conformance/action@1975792fb34ebbfa058d690666186d669d3a5977 # v1.8.0 |
91 | 91 | with:
|
92 | 92 | version: 'v1.6.0'
|
93 | 93 | functionType: 'http'
|
|
0 commit comments