@@ -14,33 +14,38 @@ jobs:
1414 matrix :
1515 ruby-version : ["2.6", "2.7", "3.0", "3.1", "3.2"]
1616 steps :
17+ - name : Harden Runner
18+ uses : step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0
19+ with :
20+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
21+
1722 - name : Checkout code
18- uses : actions/checkout@v3
23+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
1924 - name : Setup Go
20- uses : actions/setup-go@v3
25+ uses : actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2126 with :
2227 go-version : ' 1.17'
2328 check-latest : true
2429 - name : Setup Ruby
25- uses : ruby/setup-ruby@v1
30+ uses : ruby/setup-ruby@4d060a10e6d98429c69057f0aafbc65fb982bae8 # v1.137.0
2631 with :
2732 ruby-version : ${{ matrix.ruby-version }}
2833 bundler-cache : true
2934 - name : Run HTTP conformance tests
30- uses : GoogleCloudPlatform/functions-framework-conformance/action@v1.6.0
35+ uses : GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0
3136 with :
3237 functionType : ' http'
3338 useBuildpacks : false
3439 cmd : " 'bundle exec functions-framework-ruby --source test/conformance/app.rb --target http_func --signature-type http'"
3540 - name : Run CloudEvent conformance tests
36- uses : GoogleCloudPlatform/functions-framework-conformance/action@v1.6.0
41+ uses : GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0
3742 with :
3843 functionType : ' cloudevent'
3944 useBuildpacks : false
4045 validateMapping : true
4146 cmd : " 'bundle exec functions-framework-ruby --source test/conformance/app.rb --target cloudevent_func --signature-type cloudevent'"
4247 - name : Run HTTP concurrency tests
43- uses : GoogleCloudPlatform/functions-framework-conformance/action@v1.6.0
48+ uses : GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0
4449 with :
4550 functionType : ' http'
4651 useBuildpacks : false
0 commit comments