Skip to content

chore(deps): update googlecloudplatform/functions-framework-conformance digest to a95b422 #652

chore(deps): update googlecloudplatform/functions-framework-conformance digest to a95b422

chore(deps): update googlecloudplatform/functions-framework-conformance digest to a95b422 #652

Workflow file for this run

name: Ruby Lint CI
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
if: ${{ github.repository == 'GoogleCloudPlatform/functions-framework-ruby' }}
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
rubygems.org:443
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Ruby 3.0
uses: ruby/setup-ruby@d781c1b4ed31764801bfae177617bb0446f5ef8d # v1.218.0
with:
ruby-version: "3.0"
bundler-cache: true
- name: Install toys
run: gem install --no-document toys
- name: Lint
run: "toys ci --only --test-rubocop"