Skip to content

Commit

Permalink
Use make commands in pre-commit-config (#74)
Browse files Browse the repository at this point in the history
<!-- markdownlint-disable-file MD041 -->

## Pull request checklist

Please check if your PR fulfills the following requirements:

- [ ] I have read the
[CONTRIBUTING](https://github.com/fabasoad/pojo/blob/main/CONTRIBUTING.md)
doc.
- [ ] Tests for the changes have been added (for bug fixes / features).
- [ ] Docs have been reviewed and added / updated if needed (for bug
fixes / features).
- [ ] Build was run locally and any changes were pushed.
- [ ] Tests (`./gradlew test`) has passed locally and any fixes were
made for failures.

## Pull request type

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type, submit multiple
pull
requests if needed. -->

Please check the type of change your PR introduces:

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):

## What is the current behavior
<!-- Please describe the current behavior that you are modifying, or
link to a
relevant issue. -->

## What is the new behavior
<!-- Please describe the behavior or changes that are being added by
this PR. -->

-
-
-

## Does this introduce a breaking change

- [ ] Yes
- [ ] No

<!-- If this introduces a breaking change, please describe the impact
and
migration path for existing applications below. -->

## Other information

<!-- Any other information that is important to this PR such as
screenshots of
how the component looks before and after the change. -->
<!-- This document was adapted from the open-source
[appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
repository. -->

---

Closes #{IssueNumber}
  • Loading branch information
fabasoad authored Jul 2, 2024
1 parent 31f3bee commit e3171e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
permissions:
contents: read
security-events: write
uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@feat/java-ut
uses: fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main
with:
code-scanning-languages: "java"
code-scanning-build-mode: "manual"
code-scanning-build-command: "./gradlew build"
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ on: # yamllint disable-line rule:truthy
jobs:
gradle:
name: Gradle
uses: fabasoad/reusable-workflows/.github/workflows/wf-java-unit-tests.yml@feat/java-ut
uses: fabasoad/reusable-workflows/.github/workflows/wf-java-unit-tests.yml@main
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ repos:
hooks:
- id: build
name: Build
entry: ./gradlew build
entry: make build
language: system
pass_filenames: false
verbose: true
- id: test
name: Unit tests
entry: ./gradlew test
entry: make test
language: system
pass_filenames: false
verbose: true
Expand Down

0 comments on commit e3171e4

Please sign in to comment.