Gitea act resolves actions from git.nest.potatolab.uk; reviewdog/action-setup and actions/github-script 404 there (even for conditional steps). Keep Gradle checkstyle/checkTranslations only; disable PR comment and size-label flows.
36 lines
945 B
YAML
36 lines
945 B
YAML
name: Check Codes
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- '**.java'
|
|
- '**.properties'
|
|
- '.github/workflows/check-codes.yml'
|
|
pull_request:
|
|
paths:
|
|
- '**.java'
|
|
- '**.properties'
|
|
- '.github/workflows/check-codes.yml'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Setup JDK 17
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
java-package: 'jdk+fx'
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v5
|
|
with:
|
|
cache-cleanup: never
|
|
# Keep only Gradle checks. reviewdog/action-setup is not mirrored on
|
|
# git.nest.potatolab.uk (404), so PR-comment artifact steps are omitted
|
|
# for Gitea Actions / act runners.
|
|
- name: Check Codes
|
|
run: ./gradlew checkstyle checkTranslations --no-daemon --parallel --stacktrace
|