Skip to content

Commit

Permalink
Merge pull request #1417 from hennevogel/ci/require-haml_lint
Browse files Browse the repository at this point in the history
Require haml-lint to run in CI
  • Loading branch information
hennevogel authored Nov 8, 2023
2 parents 6e8c48b + cd433ea commit 82b7eb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Run linter
run: bundle exec haml-lint app/views/
unit:
needs: linter
needs: [linter, haml-linter]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Run unit tests
run: bundle exec rake test
system:
needs: linter
needs: [linter, haml-linter]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .haml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
inherits_from: .haml-lint_todo.yml
linters:
MultilinePipe:
enabled: false
7 changes: 7 additions & 0 deletions .haml-lint_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This configuration was generated by
# `haml-lint --auto-gen-config`
# on 2023-11-08 15:22:15 +0000 using Haml-Lint version 0.40.1.
# The point is for the user to remove these configuration records
# one by one as the lints are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of Haml-Lint, may require this file to be generated again.

0 comments on commit 82b7eb0

Please sign in to comment.