Skip to content

Merge pull request #1093 from pod4lib/update-dependencies #2167

Merge pull request #1093 from pod4lib/update-dependencies

Merge pull request #1093 from pod4lib/update-dependencies #2167

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
- push
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby: ['3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: bundle config path vendor/bundle
- name: Install dependencies
run: bin/setup
- name: Run tests
run: bundle exec rake