Skip to content

Commit

Permalink
πŸ“ :: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdl0525 committed Nov 9, 2023
1 parent 313b816 commit 74723c1
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,13 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'

- name: Run ktlint
run: ./gradlew ktlintCheck

- name: Set up application.yml
run: |
mkdir -p src/main/resources
echo "${{ secrets.MAIN_APPLICATION }}" | base64 --decode > src/main/resources/application.yml
mkdir -p src/test/resources
echo "${{ secrets.TEST_APPLICATION }}" | base64 --decode > src/test/resources/application.yml
distribution: 'temurin'

- name: run test
run: ./gradlew test

- name: run build
run: ./gradlew clean build -x test
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build

0 comments on commit 74723c1

Please sign in to comment.