Skip to content

feat : log config

feat : log config #236

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ "dev", "main", "setting/multi-module", 'multi-dev' ]
pull_request:
branches: [ "dev", "main", "setting/multi-module", "multi-dev" ]
jobs:
build:
runs-on: ubuntu-latest
env:
SPRING_DATASOURCE_URL: jdbc:h2:mem:testdb
SPRING_DATASOURCE_DRIVER_CLASS_NAME: org.h2.Driver
SPRING_DATASOURCE_USERNAME: sa
SPRING_DATASOURCE_PASSWORD:
SPRING_JPA_DATABASE_PLATFORM: org.hibernate.dialect.H2Dialect
SPRING_JWT_SECRET: ${{ secrets.SPRING_JWT_SECRET }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_STACK_AUTO: ${{ secrets.AWS_STACK_AUTO }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
SPRING_JWT_TOKEN_VALIDITY: ${{ secrets.SPRING_JWT_TOKEN_VALIDITY }}
SPRING_MAIL_HOST: ${{ secrets.SPRING_MAIL_HOST }}
SPRING_MAIL_PORT: ${{ secrets.SPRING_MAIL_PORT }}
SPRING_MAIL_USERNAME: ${{ secrets.SPRING_MAIL_USERNAME }}
SPRING_MAIL_PASSWORD: ${{ secrets.SPRING_MAIL_PASSWORD }}
permissions:
pull-requests: write
checks: write
actions: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build and Test
run: |
./gradlew clean build --no-daemon
./gradlew test --no-daemon
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: build/reports/tests/test
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4