diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df7f681..95b58c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,14 +4,11 @@ on: [push, pull_request] jobs: ruby-versions: - runs-on: ubuntu-latest - outputs: - versions: ${{ steps.versions.outputs.value }} - steps: - - id: versions - run: | - versions=$(curl -s 'https://cache.ruby-lang.org/pub/misc/ci_versions/cruby.json' | jq -c '. + ["2.6", "2.5", "2.4"]') - echo "value=${versions}" >> $GITHUB_OUTPUT + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 2.4 + test: needs: ruby-versions name: build (${{ matrix.ruby }} / ${{ matrix.os }})