Skip to content

chore(deps): update github/codeql-action digest to b9b3b12 #4249

chore(deps): update github/codeql-action digest to b9b3b12

chore(deps): update github/codeql-action digest to b9b3b12 #4249

Workflow file for this run

name: PR
on:
pull_request:
branches: [ master, main ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
build:
- java: 17
profile: codequality
- java: 11
profile: java11
name: with Java ${{ matrix.build.java }}
runs-on: ${{ matrix.os}}
steps:
- name: Check out the code
uses: actions/checkout@8edcb1bdb4e267140fa742c62e395cd74f332709
- name: Set up JDK 11
uses: actions/setup-java@ae2b61dbc685e60e4427b2e8ed4f0135c6ea8597
with:
java-version: ${{ matrix.build.java }}
distribution: 'temurin'
cache: maven
- name: Initialize CodeQL
uses: github/codeql-action/init@b9b3b12fa29bb4f95fb2e36128124ff9364aaf0e
with:
languages: java
- name: Cache local Maven repository
uses: actions/cache@640a1c2554105b57832a23eea0b4672fc7a790d5
with:
path: ~/.m2/repository
key: ${{ runner.os }}${{ matrix.build.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}${{ matrix.build.java }}-maven-
- name: Verify with Maven
run: mvn --batch-mode --update-snapshots --activate-profiles e2e,${{ matrix.build.profile }} verify
- if: matrix.build.java == '17'
name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
flags: unittests # optional
name: coverage # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b9b3b12fa29bb4f95fb2e36128124ff9364aaf0e