Skip to content

Commit

Permalink
Split linting and formatting runs
Browse files Browse the repository at this point in the history
Split each linter and formatter into their own `run` steps, this is for
clarity.
  • Loading branch information
mec committed Dec 13, 2024
1 parent 3ad3c73 commit b33d141
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,21 @@ jobs:
name: Build and cache
uses: ./.github/actions/continuous-integration/load-cache
-
name: Run linters and formatters
name: Run Ruby standard
run: |
docker run --rm app_test:latest /bin/bash -c "bundle exec standardrb -f simple && \
yarn run lint:js && \
yarn run lint:css && \
yarn run lint:format"
docker run --rm app_test:latest /bin/bash -c "bundle exec standardrb -f simple"
-
name: Run ESLint
run: |
docker run --rm app_test:latest /bin/bash -c "yarn run lint:js"
-
name: Run Stylelint
run: |
docker run --rm app_test:latest /bin/bash -c "yarn run lint:css"
-
name: Run Prettier
run: |
docker run --rm app_test:latest /bin/bash -c "yarn run lint:format"
static-analysis:
name: Static analysis
Expand Down

0 comments on commit b33d141

Please sign in to comment.