fix(deps): update dependency io.micronaut.oraclecloud:micronaut-oraclecloud-bom to v4.3.5 #891
This file contains 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: Google Cloud CI | |
on: | |
push: | |
branches: | |
- master | |
- '[1-9]+.[0-9]+.x' | |
paths: | |
- 'object-storage-gcp/**' | |
- 'object-storage-core/**' | |
- 'object-storage-tck/**' | |
pull_request: | |
branches: | |
- master | |
- '[1-9]+.[0-9]+.x' | |
paths: | |
- 'gradle/**' | |
- 'object-storage-gcp/**' | |
- 'object-storage-core/**' | |
- 'object-storage-tck/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ['17'] | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
# https://github.com/actions/virtual-environments/issues/709 | |
- name: Free disk space | |
run: | | |
sudo rm -rf "/usr/local/share/boost" | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
sudo apt-get clean | |
df -h | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java }} | |
- id: 'auth' | |
name: 'Authenticate to Google Cloud' | |
uses: 'google-github-actions/auth@v2' | |
with: | |
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' | |
- name: Build with Gradle | |
run: | | |
./gradlew :micronaut-object-storage-gcp:test --no-daemon --parallel --continue | |
env: | |
TESTCONTAINERS_RYUK_DISABLED: true | |
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }} | |
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} | |
PREDICTIVE_TEST_SELECTION: "${{ github.event_name == 'pull_request' && 'true' || 'false' }}" | |
GCLOUD_TEST_PROJECT_ID: ${{ secrets.GCLOUD_TEST_PROJECT_ID }} | |
- name: Publish Test Report | |
if: always() | |
uses: mikepenz/action-junit-report@v4.3.1 | |
with: | |
check_name: Java CI / Test Report (${{ matrix.java }}) | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
check_retries: 'true' |