Sha256: 42b41467a9cd27fcd8f13dc5bde585590b1c0563e3fc03b99bb7e3ac34414388

Contents?: true

Size: 793 Bytes

Versions: 22

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@v3
<%- 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

22 entries across 22 versions & 2 rubygems

Version Path
rubygems-update-3.4.19 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.19 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.18 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.18 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.17 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.17 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.16 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.16 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.15 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.15 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.14 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.14 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.13 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.13 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.12 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.12 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.11 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.11 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.10 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.10 lib/bundler/templates/newgem/github/workflows/main.yml.tt