Skip to content

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

chore(deps): update all non-major dependencies

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

Workflow file for this run

name: Ruby Unit CI
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
unit-test:
if: ${{ github.repository == 'GoogleCloudPlatform/functions-framework-ruby' }}
strategy:
matrix:
os: [ubuntu-latest]
ruby: ['3.0', '3.1', '3.2', '3.3']
flags: ["--only --test-unit"]
include:
- os: ubuntu-latest
ruby: jruby
flags: "--only --test-unit"
- os: ubuntu-latest
ruby: truffleruby
flags: "--only --test-unit"
- os: macos-latest
ruby: "3.0"
flags: "--only --test-unit"
- os: windows-latest
ruby: "3.0"
flags: "--only --test-unit"
- os: ubuntu-latest
ruby: "3.0"
flags: "--only --test-yardoc --test-build --test-examples"
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
with:
ruby-version: "${{ matrix.ruby }}"
bundler-cache: true
- name: Install toys
run: gem install --no-document toys
- name: Test ${{ matrix.flags }}
shell: bash
env:
MT_COMPAT: "true"
run: toys ci ${{ matrix.flags }}