# .github/workflows/ci.yaml name: lint on: pull_request: types: - opened - reopened - synchronize permissions: contents: read packages: read concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: lint: strategy: fail-fast: false matrix: os: [ubuntu-latest] ruby: ['2.7'] runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle install --jobs 4 - run: | bundle exec rubocop