Skip to content

feat: fix the random name issue #90

feat: fix the random name issue

feat: fix the random name issue #90

Workflow file for this run

on:
push:
branches:
- main
- cicd/github_action
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
# check out the code
- name: Fetch Sources
uses: actions/checkout@v3
# validate gradle wrapper
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
# setup java11 env
- name: Setup java env
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 17
cache: gradle
# check code style
- name: check koltin code style
uses: gradle/gradle-build-action@v2
with:
arguments: ktlintCheck
# gradle run tests
- name: check the test
run: ./gradlew test
# collect Tests Result of failed tests
- name: collect tests result
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests