Bump nokogiri from 1.19.3 to 1.19.4 #635
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
| # 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 install a prebuilt Ruby version, install dependencies, and | |
| # run tests and linters. | |
| name: "Ruby on Rails CI" | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: | |
| # We're using mysql 5.7 in production currently | |
| # TODO: We need to upgrade this in production because it's costing us extra AWS "support" dollars | |
| mysql: | |
| image: mysql:5.7 | |
| ports: | |
| - "3306:3306" | |
| env: | |
| MYSQL_DATABASE: rails_test | |
| MYSQL_USER: rails | |
| MYSQL_PASSWORD: password | |
| MYSQL_ROOT_PASSWORD: rootpassword | |
| # Set health checks to wait until mysql has started | |
| options: >- | |
| --health-cmd "mysqladmin ping" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 3 | |
| env: | |
| RAILS_ENV: test | |
| DATABASE_URL: "mysql2://rails:password@127.0.0.1:3306/rails_test" | |
| steps: | |
| - name: Install tidy | |
| run: sudo apt install -y tidy | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| # Add or replace dependency steps here | |
| - name: Install Ruby and gems | |
| uses: ruby/setup-ruby@v1.310.0 | |
| with: | |
| bundler-cache: true | |
| # Add or replace database setup steps here | |
| - name: Set up database schema | |
| run: bin/rails db:schema:load | |
| # Add or replace test runners here | |
| - name: Run tests | |
| run: bin/rake | |
| # TODO: Add codeclimate here. We used to run it on travis ci | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install Ruby and gems | |
| uses: ruby/setup-ruby@v1.310.0 | |
| with: | |
| bundler-cache: true | |
| # TODO: Reinstate brakeman as soon as we have upgraded rails | |
| # - name: Security audit application code | |
| # run: bin/brakeman -q -w2 | |
| - name: Lint Ruby files | |
| run: bin/rubocop --parallel |