Bump ruby/setup-ruby from 1.168.0 to 1.170.0 #412
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: 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 | |
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: windows-latest | |
ruby: truffleruby | |
- os: windows-latest | |
ruby: jruby-head | |
- os: windows-latest | |
ruby: jruby | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.3.0 | |
- uses: ruby/setup-ruby@bd03e04863f52d169e18a2b190e8fa6b84938215 # v1.170.0 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: gem install test-unit | |
- name: Run test | |
run: ruby -Ilib exe/rake |