Skip to content

chore(deps): update all non-major dependencies #881

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #881

Workflow file for this run

name: Ruby Conformance CI
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
# Declare default permissions as read only.
permissions: read-all
jobs:
conformance:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.1', '3.2', '3.3', '3.4']
puma: ['~> 6.0', '~> 7.0', '~> 8.0']
env:
FF_DEPENDENCY_TEST_PUMA: ${{ matrix.puma }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@b09bb98e06d4d774595224525879c09bc6e98c40 # v2.20.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
proxy.golang.org:443
release-assets.githubusercontent.com:443
rubygems.org:443
storage.googleapis.com:443
sum.golang.org:443
go.dev:443
dl.google.com:443
- name: Checkout code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: '1.26'
check-latest: true
- name: Setup Ruby
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run HTTP conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@a95b422b1e7ef3c73d2b7605db428e6387b106fc # main
with:
functionType: 'http'
useBuildpacks: false
cmd: "'bundle exec functions-framework-ruby --source test/conformance/app.rb --target http_func --signature-type http'"
- name: Run Typed conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@a95b422b1e7ef3c73d2b7605db428e6387b106fc # main
with:
functionType: 'http'
declarativeType: 'typed'
useBuildpacks: false
cmd: "'bundle exec functions-framework-ruby --source test/conformance/app.rb --target typed_func --signature-type http'"
- name: Run CloudEvent conformance tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@a95b422b1e7ef3c73d2b7605db428e6387b106fc # main
with:
functionType: 'cloudevent'
useBuildpacks: false
validateMapping: true
cmd: "'bundle exec functions-framework-ruby --source test/conformance/app.rb --target cloudevent_func --signature-type cloudevent'"
- name: Run HTTP concurrency tests
uses: GoogleCloudPlatform/functions-framework-conformance/action@a95b422b1e7ef3c73d2b7605db428e6387b106fc # main
with:
functionType: 'http'
useBuildpacks: false
validateConcurrency: true
cmd: "'bundle exec functions-framework-ruby --source test/conformance/app.rb --target concurrent_http_func --signature-type http'"