fix(deps): update dependency com.fasterxml.jackson.datatype:jackson-datatype-joda to v2.18.2 #152
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Set up JDK 15 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 15 | |
- name: Cache Gradle packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.gradle/caches/ | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Compile with gradle | |
run: ./gradlew assemble | |
test: | |
runs-on: ubuntu-latest | |
env: | |
SECRET: dna8sdh8ashd8asnd8asd | |
ISSUER: turnierverwaltung | |
USER: root | |
PASSWORD: secret | |
DATABASE: tournaments_management-test | |
SERVER: localhost | |
PORT: 8080 | |
PORT_DB: 5432 | |
PGPASSWORD: secret | |
services: | |
postgres: | |
# Docker Hub image | |
image: postgres:latest | |
env: | |
POSTGRES_USER: "root" | |
POSTGRES_PASSWORD: "secret" | |
POSTGRES_DB: "tournaments_management-test" | |
ports: | |
- 5432:5432 | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Set up JDK 15 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 15 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Test with gradle | |
run: ./gradlew test |