Sha256: 536dff7f3d8c5bea2365db1634b1ce8ec835c72038b9c03a24a2d76001419ee5

Contents?: true

Size: 835 Bytes

Versions: 12

Compression:

Stored size: 835 Bytes

Contents

name: CI

on:
  pull_request:
  push:
    branches:
      - master
    tags:
      - v*

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby:
          - 2.5
          - 2.6
          - 2.7
          - 3.0

    steps:
      - uses: actions/checkout@v2

      - name: Setup ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Rubocop
        run: bundle exec rubocop

      - name: RSpec
        run: bundle exec rspec

  publish:
    if: contains(github.ref, 'refs/tags/v')
    needs: build
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Release Gem
        uses: discourse/publish-rubygems-action@main
        env:
          RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
onebox-2.2.19 .github/workflows/ci.yml
onebox-2.2.18 .github/workflows/ci.yml
onebox-2.2.17 .github/workflows/ci.yml
onebox-2.2.16 .github/workflows/ci.yml
onebox-2.2.15 .github/workflows/ci.yml
onebox-2.2.14 .github/workflows/ci.yml
onebox-2.2.13 .github/workflows/ci.yml
onebox-2.2.12 .github/workflows/ci.yml
onebox-2.2.11 .github/workflows/ci.yml
onebox-2.2.10 .github/workflows/ci.yml
onebox-2.2.9 .github/workflows/ci.yml
onebox-2.2.8 .github/workflows/ci.yml