Skip to content

Bump ruby/setup-ruby from 1.185.0 to 1.187.0 #548

Bump ruby/setup-ruby from 1.185.0 to 1.187.0

Bump ruby/setup-ruby from 1.185.0 to 1.187.0 #548

Workflow file for this run

name: test
on: [push, pull_request]
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.3
engine: cruby-jruby
versions: '["truffleruby"]'
test:
needs: ruby-versions
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
- os: macos-latest
ruby: 2.3
- os: macos-latest
ruby: 2.4
- os: macos-latest
ruby: 2.5
- os: macos-latest
- os: windows-latest
ruby: truffleruby
- os: windows-latest
ruby: jruby-head
- os: windows-latest
ruby: jruby
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.3.0
- uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1.187.0
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: gem install test-unit
- name: Run test
run: ruby -Ilib exe/rake