chore(main): release functions_framework 1.5.0 #622
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 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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
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@4a9ddd6f338a97768b8006bf671dfbad383215f4 # v1.207.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" |