Bump rack from 2.2.7 to 2.2.8.1 #128
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 | |
# 1. Run on every push | |
# 2. Show commit title | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
Rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install system dependencies | |
run: sudo apt-get update && sudo apt-get -yqq install libsqlite3-dev sqlite3 | |
- name: Set up ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.1 | |
bundler-cache: true | |
- name: Run | |
run: bundle exec rubocop | |
Rspec: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install system dependencies | |
run: sudo apt-get update && sudo apt-get -yqq install libsqlite3-dev sqlite3 | |
- name: Set up ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.1 | |
bundler-cache: true | |
- name: Prepare test database | |
run: bundle exec rails db:test:prepare | |
- name: Run | |
run: bundle exec rspec |