Skip to content

Enhance code-check step in GitHub Actions #6

Enhance code-check step in GitHub Actions

Enhance code-check step in GitHub Actions #6

Triggered via push October 26, 2025 14:45
Status Failure
Total duration
Artifacts

This workflow graph cannot be shown

A graph will be generated the next time this workflow is run.

Annotations

1 error
Invalid workflow file: .github/workflows/classroom.yml#L1
(Line: 184, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory, (Line: 185, Col: 7): Unexpected value 'code-check', (Line: 186, Col: 8): Unrecognized named-value: 'github'. Located at position 1 within expression: github.ref_name, (Line: 186, Col: 8): Unexpected value '# Ensure full history git fetch origin main git checkout ${{ github.ref_name }} git branch --set-upstream-to=origin/main ${{ github.ref_name }} # Check for test files has_tests=$(find src/test/java -type f -name "*.java" | grep -q . && echo "true" || echo "false") # Check for modified files changed_files=$(git diff --name-only origin/main...HEAD | grep -E '^src/(main|test)/java/.*\.java$' || true) has_changes=$(test -n "$changed_files" && echo "true" || e[...]