Skip to content

feat: workflow to automatically update java format + create PR #35

feat: workflow to automatically update java format + create PR

feat: workflow to automatically update java format + create PR #35

Workflow file for this run

name: Code Quality Checks
on:
workflow_dispatch:
pull_request:
branches:
- "**"
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: CI Test
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Configure JDK
uses: actions/setup-java@v5
with:
distribution: "temurin"
java-version: "25"
- uses: actions/cache/restore@v5
name: Yarn Cache Restore
id: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 30
max_attempts: 3
command: yarn
- name: Lint
run: ./test.sh
- uses: actions/cache/save@v5
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}