🚨 [security] Update nokogiri 1.15.6 → 1.16.3 (minor) #795
Workflow file for this run
This file contains 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: Test Suite | |
env: | |
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master, staging ] | |
workflow_dispatch: | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install jq tool | |
run: | | |
sudo apt-get update | |
sudo apt-get install libxslt | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
linter: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Run linter | |
run: bundle exec rubocop | |
haml-linter: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Run linter | |
run: bundle exec haml-lint app/views/ | |
unit: | |
needs: [linter, haml-linter] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Run unit tests | |
run: bundle exec rake test | |
system: | |
needs: [linter, haml-linter] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Run system tests | |
run: bundle exec rake test:system |