From 405104d53c0589ccc3d5d51dd3771aa80cb22e83 Mon Sep 17 00:00:00 2001 From: Cameron Custer Date: Wed, 8 Jul 2026 22:25:34 -0700 Subject: [PATCH] ci: restore incremental oj-verify by fetching full history actions/checkout@v4 defaults to a shallow clone (fetch-depth: 1), which broke oj-verify's timestamp-based change detection (regressed in #234, when checkout went v1 -> v4). Pin fetch-depth: 0 so only changed tests re-run. --- .github/workflows/programming_team_code_ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/programming_team_code_ci.yml b/.github/workflows/programming_team_code_ci.yml index f6ae2746..5281b741 100644 --- a/.github/workflows/programming_team_code_ci.yml +++ b/.github/workflows/programming_team_code_ci.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 - name: Make preinstalled g++-14 the default g++