Add HAML linting GitHub Action step

This commit is contained in:
Andreas Nedbal 2020-05-10 14:33:03 +02:00
parent 7639c20f64
commit 498d31ecd6
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ jobs:
env: env:
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
REDIS_URL: "redis://localhost:${{ job.services.redis.ports[6379] }}" REDIS_URL: "redis://localhost:${{ job.services.redis.ports[6379] }}"
- name: Lint HAML templates
run: bundle exec haml-lint app/views
- uses: codecov/codecov-action@v1 - uses: codecov/codecov-action@v1
with: with:
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}