Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Update actions/cache action to v4 #111

Update actions/cache action to v4

Update actions/cache action to v4 #111

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Set up cache
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3 --path ./vendor/bundle
bundle exec rake