Skip to content

[SDKS-7283] Update linter to check only the changed files #20

[SDKS-7283] Update linter to check only the changed files

[SDKS-7283] Update linter to check only the changed files #20

Workflow file for this run

name: Lint Code Base
on:
push:
branches:
- '**'
pull_request:
branches:
- master
- development
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
lint:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v5
env:
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
LOG_LEVEL: WARN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: .github/linter
JAVA_FILE_NAME: google-java-style.xml
VALIDATE_XML: false
VALIDATE_YAML: false
VALIDATE_JSON: false
FILTER_REGEX_EXCLUDE: /**/src/test/**