Skip to content

Bump org.jetbrains.kotlin.plugin.serialization from 2.0.0 to 2.0.20 (… #82

Bump org.jetbrains.kotlin.plugin.serialization from 2.0.0 to 2.0.20 (…

Bump org.jetbrains.kotlin.plugin.serialization from 2.0.0 to 2.0.20 (… #82

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
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_DB: personia_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Build with Gradle
run: ./gradlew build
env:
POSTGRES_DB: personia_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
JDBC_URL: jdbc:postgresql://localhost:5432
DATABASE: personia_test
DB_USERNAME: postgres
DB_PASSWORD: postgres
JWT_SECRET: secret
JWT_ISSUER: http://0.0.0.0:8080/
JWT_AUDIENCE: http://0.0.0.0:8080/hierarchy
JWT_REALM: Access to 'hierarchy'
JWT_EXPIRATION: 31536000
- name: Test with Gradle
run: ./gradlew test jacocoTestReport
env:
POSTGRES_DB: personia_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
JDBC_URL: jdbc:postgresql://localhost:5432
DATABASE: personia_test
DB_USERNAME: postgres
DB_PASSWORD: postgres
JWT_SECRET: secret
JWT_ISSUER: http://0.0.0.0:8080/
JWT_AUDIENCE: http://0.0.0.0:8080/hierarchy
JWT_REALM: Access to 'hierarchy'
JWT_EXPIRATION: 31536000