mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-14 15:04:20 +02:00
19 lines
536 B
YAML
19 lines
536 B
YAML
name: Test this action
|
|
on: [push]
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-16.04, ubuntu-18.04, macos-latest ]
|
|
# Use various version syntaxes here for testing
|
|
ruby: [ 2.3, ruby-2.4, 2.5, ruby-2.6.5, 2.7.0, truffleruby, jruby ]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ./
|
|
with:
|
|
ruby-version: ${{ matrix.ruby }}
|
|
- run: ruby -v
|
|
- run: ruby -ropen-uri -e 'puts open("https://rubygems.org/") { |f| f.read(2014) }'
|