Bump rubocop from 1.54.2 to 1.56.4 #1154
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: Ruby | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.allow-failures }} | |
strategy: | |
matrix: | |
ruby: ['2.6', '2.7', '3.0', '3.1'] | |
allow-failures: [false] | |
include: | |
- ruby: head | |
allow-failures: true | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Build and test with Rake | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake | |
- name: Check code style with rubocop | |
run: rubocop | |
- name: Output codecov report | |
run: cat ./coverage/.resultset.json | |
- name: Send test coverage report to codecov.io | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage/.resultset.json | |
- name: Check that code 100% documented | |
run: yardoc . | grep -q '100.00% documented' | |
dockerfile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build default dockerfile | |
run: docker build . --tag pocket-sinatra-interface | |
- name: Check that docker image can be startup | |
run: | | |
docker run -d --name=pocket-sinatra-interface pocket-sinatra-interface | |
sleep 30 # wait for init | |
docker exec pocket-sinatra-interface true |