Compare commits
No commits in common. "2aaf79410d615feb91b69583a53ccd1b3ae6ff5f" and "9ec6d8f4133f101c4a1b55a4a4863eb12697d5ca" have entirely different histories.
2aaf79410d
...
9ec6d8f413
1 changed files with 3 additions and 7 deletions
|
@ -26,7 +26,6 @@ jobs:
|
||||||
- '.gitea/workflows/**'
|
- '.gitea/workflows/**'
|
||||||
|
|
||||||
checkstyle:
|
checkstyle:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: "Checkstyle Main"
|
name: "Checkstyle Main"
|
||||||
needs: changed_files
|
needs: changed_files
|
||||||
if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||||
|
@ -55,27 +54,26 @@ jobs:
|
||||||
echo "Cache miss! Running checkstyle check"
|
echo "Cache miss! Running checkstyle check"
|
||||||
echo "cache-hit=false" >> $GITHUB_OUTPUT
|
echo "cache-hit=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: "Run checkstyle"
|
- name: "Run checkstyle"
|
||||||
if: steps.check-cache.outputs.cache-hit != 'true'
|
if: steps.check-cache.outputs.cache-hit != 'true'
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: |
|
run: |
|
||||||
gradle checkstyleMain
|
gradle checkstyleMain
|
||||||
|
|
||||||
- name: "Cache checkstyle results"
|
- name: "Cache checkstyle results"
|
||||||
if: steps.check-cache.outputs.cache-hit != 'true'
|
if: steps.check-cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: checkstyle-results
|
name: checkstyle-results
|
||||||
path: backend/build/reports/checkstyle
|
path: backend/build/reports/checkstyle
|
||||||
|
|
||||||
- name: "Stop Gradle"
|
- name: "Stop Gradle"
|
||||||
if: steps.check-cache.outputs.cache-hit != 'true'
|
if: steps.check-cache.outputs.cache-hit != 'true'
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: gradle --stop
|
run: gradle --stop
|
||||||
|
|
||||||
eslint:
|
eslint:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: eslint
|
name: eslint
|
||||||
needs: changed_files
|
needs: changed_files
|
||||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||||
|
@ -104,7 +102,6 @@ jobs:
|
||||||
bun run lint
|
bun run lint
|
||||||
|
|
||||||
prettier:
|
prettier:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: prettier
|
name: prettier
|
||||||
needs: changed_files
|
needs: changed_files
|
||||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||||
|
@ -133,7 +130,6 @@ jobs:
|
||||||
bun run format:check
|
bun run format:check
|
||||||
|
|
||||||
test-build:
|
test-build:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: test-build
|
name: test-build
|
||||||
needs: changed_files
|
needs: changed_files
|
||||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||||
|
|
Reference in a new issue