fix logo url after edit org form #287
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: Rubocop Check | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: "**" | |
jobs: | |
backend: | |
name: Check Ruby Code Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v2 | |
- name: setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2.1' | |
- name: install dependencies | |
working-directory: back-end | |
run: bundle install | |
- name: check syntax | |
working-directory: back-end | |
run: bin/bundle exec rubocop | |
- name: report failures, if any | |
if: failure() | |
run: echo "Rubocop found syntax offenses, which must be corrected." |