Skip to content

ci: Add github action for auto online test and code style check #1

ci: Add github action for auto online test and code style check

ci: Add github action for auto online test and code style check #1

Workflow file for this run

name: build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'liberica'
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.8
- name: Build artifacts
run: ./gradlew detekt