These lines were added when we were trying the pronto-eslint_npm gem, which isn't maintained anymore and is not compatible with the latest Pronto version. Since we're now using the pronto-eslint gem, and this gem depends on the eslintrb gem (which includes ESLint), we don't need these lines anymore.
19 lines
604 B
YAML
19 lines
604 B
YAML
name: linters
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
linters:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- run: |
|
|
git fetch --no-tags --prune origin +refs/heads/*:refs/remotes/origin/*
|
|
- name: Setup Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
bundler-cache: true
|
|
- name: Run Pronto
|
|
run: |
|
|
PRONTO_PULL_REQUEST_ID="$(jq --raw-output .number "$GITHUB_EVENT_PATH")" PRONTO_GITHUB_ACCESS_TOKEN="${{ github.token }}" bundle exec pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
|