name: Static analysis on: push: branches: [ master ] pull_request: branches: [ master ] jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby 3.1 uses: actions/setup-ruby@v1 with: ruby-version: 3.1.x - name: Check code run: ./scripts/bad_code.sh