Sha256: 6a05092e99d1c1ebe494866f25da88368aa83df11ca41b704767743b7b2d8f15

Contents?: true

Size: 824 Bytes

Versions: 3

Compression:

Stored size: 824 Bytes

Contents

name: hcloud-ruby ci
on: [push]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7
          bundler-cache: true
      - name: Run rubocop
        run: bundle exec rubocop --parallel

  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby-version: [ '2.7', '3.0', '3.1' ]
    steps:
      - uses: actions/checkout@v2
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Run double tests
        run: bundle exec rspec -t doubles --order rand
      - name: Run legacy tests
        run: LEGACY_TESTS=y bundle exec rspec -t ~doubles

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hcloud-1.2.0 .github/workflows/ruby.yml
hcloud-1.1.0 .github/workflows/ruby.yml
hcloud-1.0.3 .github/workflows/ruby.yml