fix(deps): update okhttp monorepo to v5.4.0 - autoclosed #72
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pr | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| # Cancel in-progress runs when a new commit is pushed | |
| 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@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.14 | |
| - 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 | |
| unit-tests: | |
| name: Unit Tests (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@v5 | |
| - name: Set up Java ${{ matrix.java-version }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: Build project | |
| run: mvn clean install -DskipTests --settings build/.github.settings.xml | |
| - name: Run unit tests | |
| run: mvn test -DskipITs --settings build/.github.settings.xml | |
| - name: Run linter | |
| run: mvn checkstyle:check --settings build/.github.settings.xml |