Skip to content

♻️ Port Command 인터페이스 data class로 리펙터링 #69

♻️ Port Command 인터페이스 data class로 리펙터링

♻️ Port Command 인터페이스 data class로 리펙터링 #69

Workflow file for this run

name: Test and Analyze
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
Test-And-Analyze:
name: Run unit test and static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: liberica
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build And analyze Http Server
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew test testCodeCoverageReport sonar --info