Sha256: c412a37e53c3e265d36f3227e7118bf10fdf56133cb3b4acbd2e4db0b660e383

Contents?: true

Size: 793 Bytes

Versions: 130

Compression:

Stored size: 793 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

130 entries across 130 versions & 6 rubygems

Version Path
bundler-2.5.1 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.5.0 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.5.0 lib/bundler/templates/newgem/github/workflows/main.yml.tt
direct7-0.0.11 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.22 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.22 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.21 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.21 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.20 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.20 lib/bundler/templates/newgem/github/workflows/main.yml.tt