Skip to content

Commit 405104d

Browse files
committed
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.
1 parent e329660 commit 405104d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/programming_team_code_ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
1315
- name: Set up Python
1416
uses: actions/setup-python@v5
1517
- name: Make preinstalled g++-14 the default g++

0 commit comments

Comments
 (0)