Skip to content

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

chore(deps): update all non-major dependencies

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

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: ["2.6", "2.7", "3.0", "3.1", "3.2"]
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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.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 }}