Sha256: 2c91c6bfb3dc84a40fb8b61d75286357752a27b2325b6fe38e96ae3223e84a59

Contents?: true

Size: 955 Bytes

Versions: 3

Compression:

Stored size: 955 Bytes

Contents

name: Ruby

on:
  workflow_dispatch:
  push:
    branches: [ main ]
  pull_request:

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest]
        ruby-version: ['3.0', '3.1', '3.2', head, jruby, jruby-head, truffleruby, truffleruby-head]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
          bundler: 'latest'
          cache-version: 2
      - name: Run tests
        run: bundle exec rake
      - name: Upload artifacts for ruby version 3 and ubuntu
        if: ${{ matrix.os == 'ubuntu-latest'  && matrix.ruby-version == '3.2'}}
        uses: actions/upload-artifact@v3
        with:
          name: drop
          path: |
            ./Gemfile.lock
            ./README.md

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
microsoft_kiota_abstractions-0.14.3 .github/workflows/ruby.yml
microsoft_kiota_abstractions-0.14.2 .github/workflows/ruby.yml
microsoft_kiota_abstractions-0.14.1 .github/workflows/ruby.yml