diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0f2f560..5a80256 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,11 +7,34 @@ on: #branches: [ "develop" ] jobs: + checkstyle: + runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + # super-linter needs the full git history to get the + # list of files that changed across commits + fetch-depth: 0 + + - name: Super-linter + uses: super-linter/super-linter@v6.3.0 # x-release-please-version + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build: #The type of container the application will run in. runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed asa part of the job + # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Step 1 - Checkout the main branches from Github uses: actions/checkout@v3