Skip to content

Paletteupdate#72

Paletteupdate#72 #166

Workflow file for this run

name: RubyCritic
on:
push:
branches: [main]
pull_request:
branches: [main]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
rubycritic:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: docker://ruby:3.1-slim
- name: Install rubycritic
run: sudo gem install rubycritic
# Runs RubyCritic App
- name: RubyCritic App
run: mkdir -p tmp/rubycritic && rubycritic --no-browser -p tmp/rubycritic/rubycritic-app -s 90 app config lib
# Runs RubyCritic on Tests
- name: RubyCritic on Tests
run: mkdir -p tmp/rubycritic && rubycritic --no-browser -p tmp/rubycritic/rubycritic-app -s 65 spec test