Sha256: a9a0bdb52cf9d9309edd2c7a7dacf5a0d1bd333341c21017fac9f2970ae285e5

Contents?: true

Size: 795 Bytes

Versions: 18

Compression:

Stored size: 795 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@main
      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

18 entries across 18 versions & 2 rubygems

Version Path
rubygems-update-3.4.8 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.8 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.7 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.7 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.6 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.6 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.5 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.5 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.4 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.4 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.3 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.3 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.2 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.2 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.1 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.1 lib/bundler/templates/newgem/github/workflows/main.yml.tt
rubygems-update-3.4.0 bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt
bundler-2.4.0 lib/bundler/templates/newgem/github/workflows/main.yml.tt