diff --git a/.github/workflows/code_quality_check.yml b/.github/workflows/code_quality_check.yml index 79a580d338e..379bc1022aa 100644 --- a/.github/workflows/code_quality_check.yml +++ b/.github/workflows/code_quality_check.yml @@ -1,4 +1,4 @@ -name: Code Convention Verification +name: Code Quality Check on: push: @@ -15,6 +15,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch full history for accurate git commands + + - name: Debug Git Output + run: | + echo "Current branch: $(git rev-parse --abbrev-ref HEAD)" + echo "Committed files in the current branch:" + git log origin/$(git rev-parse --abbrev-ref HEAD)..HEAD --name-only --pretty=format: + echo "Uncommitted files:" + git diff --name-only + echo "Staged files:" + git diff --cached --name-only - name: Setup Java & Gradle uses: actions/setup-java@v4 diff --git a/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java b/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java index 518ec63dd13..131244724d8 100644 --- a/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java +++ b/rskj-core/src/main/java/co/rsk/config/GarbageCollectorConfig.java @@ -28,6 +28,9 @@ public class GarbageCollectorConfig { private final int blocksPerEpoch; private final int numberOfEpochs; + + //asdasdasdsdsd + public GarbageCollectorConfig(boolean enabled, int blocksPerEpoch, int numberOfEpochs) { this.enabled = enabled; this.blocksPerEpoch = blocksPerEpoch;