diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..ca4e014 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,39 @@ +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '21 17 * * 6' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'java' ] + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + + - run: 'mvn clean package -DskipTests -Dmaven.javadoc.skip=true --file parent/pom.xml' + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000..a2073a7 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,12 @@ +path_classifiers: + + # exclude tests + test: + - "**/src/test" + +extraction: + java: + index: + java_version: 8 + build_command: "mvn clean package -DskipTests -Dmaven.javadoc.skip=true --file parent/pom.xml" + diff --git a/parent/pom.xml b/parent/pom.xml index 4f830d5..3a3a1ea 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -95,7 +95,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2 + 3.2.0