Skip to content

Update README.md (#205) #605

Update README.md (#205)

Update README.md (#205) #605

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Ruby 3.0
uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.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"