Bump action_text-trix from 2.1.17 to 2.1.18 #380
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:14 | |
| env: | |
| POSTGRES_DB: rails_github_actions_test | |
| POSTGRES_USER: rails_github_actions | |
| POSTGRES_PASSWORD: password | |
| ports: ['5432:5432'] | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Ruby 3.4.5 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4.5 | |
| - name: Setup Node 24 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.9.x | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -yqq install libpq-dev build-essential libcurl4-openssl-dev | |
| gem install bundler | |
| bundle install --jobs 4 --retry 3 | |
| yarn install --pure-lockfile | |
| - name: Setup test database | |
| env: | |
| RAILS_ENV: test | |
| PGHOST: localhost | |
| POSTGRES_DB: rails_github_actions_test | |
| POSTGRES_USER: rails_github_actions | |
| POSTGRES_PASSWORD: password | |
| run: | | |
| cp config/database.ci.yml config/database.yml | |
| bin/rails db:create db:migrate | |
| - name: Precompile assets | |
| env: | |
| RAILS_ENV: test | |
| PGHOST: localhost | |
| POSTGRES_DB: rails_github_actions_test | |
| POSTGRES_USER: rails_github_actions | |
| POSTGRES_PASSWORD: password | |
| PGPORT: ${{ job.services.postgres.ports[5432] }} | |
| run: | | |
| bin/rails assets:precompile | |
| - name: Run tests | |
| env: | |
| PGHOST: localhost | |
| POSTGRES_DB: rails_github_actions_test | |
| POSTGRES_USER: rails_github_actions | |
| POSTGRES_PASSWORD: password | |
| PGPORT: ${{ job.services.postgres.ports[5432] }} | |
| RAILS_ENV: test | |
| JWT_KEY: some_key_for_testing | |
| run: | | |
| bundle exec rspec | |