Sha256: 90d6ef70035dcb42a0a9cba0f5e5d4e1dc4b706407310b12a083833f0b5ad40f

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 Bytes

Contents

name: Ruby CI

on:
  push:
    branches:

env:
  CI: true
permissions:
  contents: read

jobs:
  build:
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: ./

    strategy:
      matrix:
        ruby-version: [3.1, 3.2, 3.3, 3.4]

    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
    - name: Install dependencies
      run: bundle install
    - name: Rubocop Check
      run: bundle exec rubocop
    - name: Run all tests
      run: bundle exec rake test
      shell: bash
    - name: Run example_app
      run: bundle exec ruby example_app.rb
      shell: bash

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twiglet-3.14.0 .github/workflows/ruby.yml