Bump puma from 5.6.8 to 5.6.9 (#60) #100
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
# From: | |
# * https://github.com/ruby/setup-ruby | |
# * https://github.com/actions/setup-node | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby 2.7 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.2 | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12' | |
- name: Cache Gems | |
uses: actions/cache@v2 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: ${{ runner.os }}-gems- | |
- name: Build and test | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
run: | | |
yarn install --check-files | |
gem install bundler -v 2.4.21 | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
bundle exec rails db:create | |
bundle exec rails db:migrate | |
bundle exec rails test | |
bundle exec rails test:system |