Skip to content

Update dependency com.github.hmcts:service-auth-provider-java-client to v5 #7735

Update dependency com.github.hmcts:service-auth-provider-java-client to v5

Update dependency com.github.hmcts:service-auth-provider-java-client to v5 #7735

Workflow file for this run

# This workflow will have a CI flow for Payment Java(Gradle) project
name: payment - CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build gradle application
run: ./gradlew build
- name: Generate code coverage report
run: ./gradlew codeCoverageReport
- name: Publish report to Codecov
run: bash <(curl -s https://codecov.io/bash)
- name: Cleanup Gradle Cache
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -fr ~/.gradle/caches/modules-2/*/plugin-resolution/