Skip to content

chore: Adding information needed for spec-compliance tooling #2730

chore: Adding information needed for spec-compliance tooling

chore: Adding information needed for spec-compliance tooling #2730

Workflow file for this run

name: PR
on:
pull_request:
branches: [ master, main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Set up JDK 8
uses: actions/setup-java@a1c6c9c8677803c9f4bd31e0f15ac0844258f955
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Initialize CodeQL
uses: github/codeql-action/init@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3
with:
languages: java
- name: Cache local Maven repository
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Verify with Maven
run: mvn --batch-mode --update-snapshots --activate-profiles e2e verify
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.4.0
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@0d9161ca1ca47cada43d1520c3ee53b96d4c31b3