Sha256: f2109525761365f383c3a1fe622d24c91d0225b199396b59775608f5a095cfe3

Contents?: true

Size: 823 Bytes

Versions: 10

Compression:

Stored size: 823 Bytes

Contents

name: Ruby

on:
  push:
    branches:
      - <%= config[:git_default_branch] %>

  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    name: Ruby ${{ matrix.ruby }}
    strategy:
      matrix:
        ruby:
          - '<%= RUBY_VERSION %>'

    steps:
      - uses: actions/checkout@v4
<%- if config[:ext] == 'rust' -%>
      - name: Set up Ruby & Rust
        uses: oxidize-rb/actions/setup-ruby-and-rust@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
          cargo-cache: true
          rubygems: '<%= ::Gem.rubygems_version %>'
<%- else -%>
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
<%- end -%>
      - name: Run the default task
        run: bundle exec rake

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
rubygems-update-3.6.3 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.6.3 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.6.2 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.6.2 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.6.1 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.6.1 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.6.0 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.6.0 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.5.23 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.5.23 lib/bundler/templates/newgem/github/workflows/main.yml.tt