Skip to content

Merge pull request #264 from livk-cloud/renovate/redisson #1300

Merge pull request #264 from livk-cloud/renovate/redisson

Merge pull request #264 from livk-cloud/renovate/redisson #1300

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up host
run: echo '127.0.0.1 livk.com' | sudo tee -a /etc/hosts
- uses: actions/checkout@v4.1.5
- name: Set up JDK 21
uses: actions/setup-java@v4.2.1
with:
java-version: 21
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3.3.2
- name: Gradle Run Build
run: ./gradlew clean build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.3.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}