Skip to content

chore: revert test change #19

chore: revert test change

chore: revert test change #19

Workflow file for this run

name: pr
on:
pull_request:
branches:
- main
workflow_dispatch:
# Allow workflow to be triggered manually.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
detect-secrets:
name: detect-secrets
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install detect-secrets
run: |
pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@0.13.1+ibm.64.dss#egg=detect-secrets"
- name: Run detect-secrets
run: |
detect-secrets scan --update .secrets.baseline --exclude-files 'build/signing\.key\.enc'
detect-secrets -v audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline
build-test:
name: Build and Test (Java ${{ matrix.java-version }})
needs: detect-secrets
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
java-version: ['11', '17']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: 'maven'
- name: Build and test
run: mvn verify -fae -DskipITs --settings build/.github.settings.xml