feat: Apply Spotless formatting and add GitHub Actions for code style checks #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
GH_USERNAME: ${{ secrets.GH_USERNAME }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
GH_REPO_NAME: ${{ secrets.GH_REPO_NAME }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run Unit Test | |
run: | | |
./gradlew :libx:composex:testReleaseUnitTest |