Skip to content

feat: 버그 수정 #99

feat: 버그 수정

feat: 버그 수정 #99

Workflow file for this run

name: CI check
on:
pull_request:
branches:
- develop
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
kotlin-version: [ 1.5.31 ]
java-version: [ 17 ]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Kotlin
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
kotlin-version: ${{ matrix.kotlin-version }}
distribution: 'adopt'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: spotless check
run: ./gradlew spotlessCheck --no-daemon
# - name: Start containers
# run: docker-compose up -d
#
# - name: test and analyze
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# run: ./gradlew test sonar --info --stacktrace --no-daemon