Sha256: 231d591be7844e3015dcf2d2e6c5e8a69df903bad9e324cd958eceb71a355001

Contents?: true

Size: 1.52 KB

Versions: 4

Compression:

Stored size: 1.52 KB

Contents

name: CI

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: ["2.4", "2.5", "2.6"]
      fail-fast: false
    name: Test Ruby ${{ matrix.ruby }}
    steps:
      - uses: actions/checkout@v1
      - name: Setup Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Cache Ruby dependencies
        uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-${{ matrix.ruby }}-gem-
      - name: Install dependencies
        run: |
          gem install bundler:1.17.2
          bundle config path vendor/bundle
          bundle install --jobs 4 --retry 3
      - name: Test
        run: |
          bundle exec rake test
  lint:
    name: Lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Setup Ruby
        uses: actions/setup-ruby@v1
      - name: Cache Ruby dependencies
        uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-${{ matrix.ruby }}-gem-
      - name: Install dependencies
        run: |
          gem install bundler:1.17.2
          bundle config path vendor/bundle
          bundle install --jobs 4 --retry 3
      - name: Test
        run: |
          bundle exec rake test_style

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unipept-2.2.1 .github/workflows/ci.yml
unipept-2.2.0 .github/workflows/ci.yml
unipept-2.1.1 .github/workflows/ci.yml
unipept-2.1.0 .github/workflows/ci.yml