mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:19:52 +01:00
Switch to Reviewdog
This commit is contained in:
parent
a8c936da8b
commit
ca1ed4b293
2 changed files with 19 additions and 19 deletions
22
.github/workflows/retrospring.yml
vendored
22
.github/workflows/retrospring.yml
vendored
|
@ -47,7 +47,6 @@ jobs:
|
|||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.1'
|
||||
bundler-cache: true
|
||||
- name: Set up Node 12
|
||||
uses: actions/setup-node@v3
|
||||
|
@ -76,9 +75,26 @@ jobs:
|
|||
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
|
||||
REDIS_URL: "redis://localhost:${{ job.services.redis.ports[6379] }}"
|
||||
DISABLE_WEBPACK_IN_TESTS: 1
|
||||
- name: Lint TypeScript
|
||||
run: yarn run lint
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: ./coverage/coverage.xml
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
bundler-cache: true
|
||||
- name: Run rubocop
|
||||
uses: reviewdog/action-rubocop@v2
|
||||
with:
|
||||
rubocop_version: gemfile
|
||||
rubocop_extensions: rubocop-rails:gemfile
|
||||
reporter: github-pr-check
|
||||
- run: yarn install
|
||||
- uses: reviewdog/action-eslint@v1
|
||||
with:
|
||||
reporter: github-check
|
||||
eslint_flags: '--ext .ts app/javascript'
|
||||
|
|
16
.hound.yml
16
.hound.yml
|
@ -1,16 +0,0 @@
|
|||
sass-lint:
|
||||
enabled: false
|
||||
|
||||
coffeescript:
|
||||
enabled: false
|
||||
|
||||
jshint:
|
||||
enabled: false
|
||||
|
||||
haml:
|
||||
enabled: false
|
||||
config_file: .haml-lint.yml
|
||||
|
||||
rubocop:
|
||||
version: 1.22.1
|
||||
config_file: .rubocop.yml
|
Loading…
Reference in a new issue