Skip to content

Commit

Permalink
test checkstyle and google java format
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Apr 24, 2024
1 parent 476c357 commit b135760
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/lint-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,24 @@ permissions:
packages: read
pull-requests: read
statuses: write

jobs:
lint-code-base:
uses: senzing-factory/build-resources/.github/workflows/linter.yaml@main
with:
validate-all-codebase: true
name: lint code base
runs-on: ubuntu-latest

steps:
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: lint code base
uses: super-linter/super-linter@v6.4.1
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# only lint new and modified files
VALIDATE_ALL_CODEBASE: true
VALIDATE_JAVA: true
VALIDATE_GOOGLE_JAVA_FORMAT: true

0 comments on commit b135760

Please sign in to comment.