Skip to content

Correct Session properties #142

Correct Session properties

Correct Session properties #142

name: Validations
on:
push:
tags-ignore:
- '**'
branches:
- master
pull_request:
types:
- synchronize
- opened
env:
MAVEN_GITHUB_USER: croct-bot
MAVEN_GITHUB_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Validate
run: mvn -s .github/maven_settings.xml validate
security-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Check security vulnerabilities
run: mvn -s .github/maven_settings.xml org.owasp:dependency-check-maven:check