Skip to content

ci

ci #1616

Workflow file for this run

name: ci
on:
push:
schedule:
- cron: '0 0 * * *'
jobs:
build:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '8', '17', '21' ]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew build jacocoTestReport -i
- uses: codecov/codecov-action@v4
if: matrix.java == '21'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}