Skip to content

Pipeline

Pipeline #25

Workflow file for this run

---
name: Pipeline
on:
push:
schedule:
- cron: '0 1 * * 1' # Every Monday at 1AM UTC
jobs:
ruby-versions:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.versions.outputs.supported_versions }}
steps:
- id: versions
uses: Invoca/supported_ruby_versions_action@main
tests:
name: Unit Tests
runs-on: ubuntu-latest
needs: ruby-versions
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
gemfile:
- Gemfile
- gemfiles/unlocked.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 2.2.29
bundler-cache: true
- uses: nick-fields/retry@v3
with:
max_attempts: 2
timeout_minutes: 5
command: bundle exec rake test