Skip to content

deps: bump astral-sh/setup-uv from 6.3.1 to 6.4.1 #320

deps: bump astral-sh/setup-uv from 6.3.1 to 6.4.1

deps: bump astral-sh/setup-uv from 6.3.1 to 6.4.1 #320

Workflow file for this run

name: Ruby CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: '3.4'
rubygems: latest
bundler: 2
bundler-cache: false
- name: Run standardrb
run: |
bundle install --jobs 4 --retry 3
bundle exec standardrb
env:
MAINTENANCE: true
coverage:
name: Generate Coverage Report
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
coveralls.io:443
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: '3.4'
rubygems: latest
bundler: 2
bundler-cache: false
- run: |
bundle install --jobs 4 --retry 3
bundle exec ruby -S rake coverage --trace
env:
COVERAGE: true
- uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b #v2.3.6
required-ubuntu:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
ruby:
- '2.6'
- '2.7'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- truffleruby
runs-on: ${{ matrix.os }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
required-macos:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- macos-15
ruby:
- '2.6'
- '2.7'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
runs-on: ${{ matrix.os }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
optional-windows:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- windows-2022
- windows-2025
ruby:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- mingw
- mswin
- ucrt
runs-on: ${{ matrix.os }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
jruby-optional:
name: JRuby ${{ matrix.ruby }} - ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
ruby:
- jruby-10
continue-on-error: true
runs-on: ${{ matrix.os }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
repo.maven.apache.org:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace
ruby-head-optional:
name: Ruby ${{ matrix.ruby }} - ${{ matrix.os }} (optional)
permissions:
contents: read
strategy:
fail-fast: false
matrix:
ruby:
- head
os:
- macos-latest
- ubuntu-latest
- windows-latest
continue-on-error: true
runs-on: ${{ matrix.os }}
steps:
- name: Harden the runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: 2
bundler-cache: true
- run: bundle exec ruby -S rake test --trace