Skip to content

Bump ruby/setup-ruby from 1.171.0 to 1.172.0 #960

Bump ruby/setup-ruby from 1.171.0 to 1.172.0

Bump ruby/setup-ruby from 1.171.0 to 1.172.0 #960

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:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/[email protected]
with:
ruby-version: 3.0.0
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
node-version: 12.18.3
- name: Delete yarn.lock
run: rm yarn.lock
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install rails
run: gem install rails
- name: Install dependencies
run: |
bundle config path vendor/bundle
bundle install
- name: webpacker
run: rails webpacker:install
- name: Run tests
run: bundle exec rake