Skip to content

[Feat/#454] api/v2 시큐리티 설정 추가 #230

[Feat/#454] api/v2 시큐리티 설정 추가

[Feat/#454] api/v2 시큐리티 설정 추가 #230

Workflow file for this run

name: Validate Test
on:
pull_request:
branches: [ "main", "dev" ]
workflow_dispatch:
permissions:
contents: read
env:
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
jobs:
setup-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
api-test:
needs: setup-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Jooq Code Generation
run: |
./gradlew jooqCodegenAll
- name: API Test with Gradle
run: |
./gradlew api:test