Skip to content

⬆️ Bump lograge from 0.13.0 to 0.14.0 #1868

⬆️ Bump lograge from 0.13.0 to 0.14.0

⬆️ Bump lograge from 0.13.0 to 0.14.0 #1868

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 Test Runs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2']
env:
BUNDLE_WITHOUT: 'development'
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Setup Node 14
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache gems
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-v1-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-v1-
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle config set with 'sqlite'
bundle install --jobs 4 --retry 3
yarn install --frozen-lockfile
- name: Run tests
run: |
bin/rails assets:precompile RAILS_ENV=test
bin/rails test