Skip to content

Commit

Permalink
ci: include Rubocop in the flow
Browse files Browse the repository at this point in the history
  • Loading branch information
freesteph committed Oct 16, 2024
1 parent 7e48db6 commit 952ac5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
ruby-version: 3.3.4
bundler-cache: true

- name: Lint Ruby with Rubocop
run: bundle exec rubocop

- name: Install npm dependencies
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ down:
docker compose down
sh:
$(DOCKER-RUN) web bash
lint:
$(DOCKER-RUN) web $(BUNDLE-EXEC) rubocop

html-proofer:
bundle exec htmlproofer ./_site/ --ignore-files "/recrutement\/*/" --no-enforce-https --disable-external --root_dir _site/ --allow-missing-href
Expand Down

0 comments on commit 952ac5d

Please sign in to comment.