This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
rubocop #183
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: default | |
jobs: | |
rspec: | |
container: | |
image: ruby:3.0 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: ${{ runner.os }}-gems- | |
- name: setup | |
run: |- | |
ruby -v | |
which ruby | |
gem install bundler --no-document | |
bundle config path vendor/bundle | |
bundle install --jobs 4 | |
- name: script | |
run: bundle exec rspec | |
rubocop: | |
container: | |
image: ruby:3.0 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: ${{ runner.os }}-gems- | |
- name: setup | |
run: |- | |
ruby -v | |
which ruby | |
gem install bundler --no-document | |
bundle config path vendor/bundle | |
bundle install --jobs 4 | |
- name: script | |
run: bundle exec rubocop | |
'on': | |
push: | |
branches: | |
- '*' |