Sha256: 9da437dd2b43eadfc19223bb87c8f80dae6a214e2dbec52dd2a0405804f7fd24

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  ruby_dependencies:
    name: Ruby - download and cache dependencies
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1

      - name: Ruby gem cache
        uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: gems-

      - name: Install gems
        run: bundle install --jobs 4 --retry 3 --path vendor/bundle

  tests:
    name: Run tests
    runs-on: ubuntu-latest
    needs: ruby_dependencies

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1

      - name: Ruby gem cache
        uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: gems-

      - name: Install gems
        run: bundle install --jobs 4 --retry 3 --path vendor/bundle

      - name: Run tests
        run: bundle exec rake test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yt-dlp.rb-0.3.1 .github/workflows/ci.yml
yt-dlp.rb-0.3.0 .github/workflows/ci.yml
yt-dlp.rb-0.2.0 .github/workflows/ci.yml
yt-dlp.rb-0.1.0 .github/workflows/ci.yml