Merge pull request #559 from codeforjapan/update-debates-close_debate… #536
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: Lint | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: apt-get | |
run: | | |
sudo apt-get update -y | |
sudo apt-get -yqq install libpq-dev postgresql-client | |
- name: Set up Ruby 3.0.6 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0.6 | |
bundler-cache: true | |
- name: Lint by RuboCop | |
run: | | |
bundle exec rubocop --parallel |