Skip to content

Set search bar border rounded class for number of configured search fields #3181

Set search bar border rounded class for number of configured search fields

Set search bar border rounded class for number of configured search fields #3181

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: CI
on:
push:
branches:
- main
- "release-*"
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler: "latest"
- name: Change permissions
run: "chmod -f -R o-w /opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/gems | :"
- name: Install dependencies
run: bundle install
- name: Run linter
run: bundle exec rake rubocop
test:
runs-on: ubuntu-latest
name: test (ruby ${{ matrix.ruby }} / rails ${{ matrix.rails_version }} ${{ matrix.additional_name }})
strategy:
fail-fast: false
matrix:
ruby: ["3.3"]
rails_version: ["7.0.8.6", "7.1.5", "7.2.2"]
bootstrap_version: [null]
view_component_version: ["~> 3.12"]
api: [null]
additional_engine_cart_rails_options: [""]
additional_name: [""]
include:
- ruby: "3.3"
rails_version: "8.0.0"
additional_engine_cart_rails_options: --css=bootstrap
- ruby: "3.3"
rails_version: "8.0.0"
additional_engine_cart_rails_options: --css=bootstrap --js=esbuild
additional_name: "/ esbuild"
- ruby: "3.2"
rails_version: "7.0.8.6"
- ruby: "3.2"
rails_version: "7.1.5"
solr_version: "8.11.2"
additional_name: "Solr 8.11.2"
- ruby: "3.1"
rails_version: "7.1.5"
- ruby: "3.1"
rails_version: "7.0.8.6"
additional_name: "/ Propshaft"
additional_engine_cart_rails_options: -a propshaft --css=bootstrap
- ruby: "3.3"
rails_version: "7.1.5"
api: "true"
additional_engine_cart_rails_options: --api --skip-yarn
additional_name: "/ API"
- ruby: "3.3"
rails_version: "7.2.2"
additional_engine_cart_rails_options: -a propshaft --css=bootstrap --js=esbuild
additional_name: "/ Propshaft, esbuild"
env:
RAILS_VERSION: ${{ matrix.rails_version }}
SOLR_VERSION: ${{ matrix.solr_version || 'latest' }}
VIEW_COMPONENT_VERSION: ${{ matrix.view_component_version }}
BOOTSTRAP_VERSION: ${{ matrix.bootstrap_version }}
BLACKLIGHT_API_TEST: ${{ matrix.api }}
ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-kamal --skip-solid --skip-coffee --skip-test ${{ matrix.additional_engine_cart_rails_options }}"
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler: "latest"
ruby-version: ${{ matrix.ruby }}
- name: Change permissions
run: "chmod -f -R o-w /opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/gems | :"
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake ci
docker_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build docker image
run: docker compose build app