chore(deps): update all non-major dependencies #557
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
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 | |
rubygems.org:443 | |
storage.googleapis.com:443 | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Go | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@2a18b06812b0e15bb916e1df298d3e740422c47e # v1.203.0 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run HTTP conformance tests | |
uses: GoogleCloudPlatform/functions-framework-conformance/action@1041a97e93a463d9efb17dda821f3ddc0bf0024f # 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@1041a97e93a463d9efb17dda821f3ddc0bf0024f # 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@1041a97e93a463d9efb17dda821f3ddc0bf0024f # 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@1041a97e93a463d9efb17dda821f3ddc0bf0024f # 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'" | |