Skip to content

Commit 3581e4c

Browse files
committed
Fix legacy git
1 parent d91f64e commit 3581e4c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ jobs:
6363
env:
6464
LEGACY_CI: true
6565
steps:
66-
- uses: actions/checkout@v3
66+
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
67+
- run: git init $GITHUB_WORKSPACE
68+
- run: git remote add origin https://github.com/rspec/rspec-collection_matchers
69+
- run: git config --local gc.auto 0
70+
- run: git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +$GITHUB_SHA:$GITHUB_REF
71+
- run: git checkout --progress --force $GITHUB_REF
6772
- run: script/legacy_setup.sh
68-
- run: ${{ matrix.container.post }}
6973
- run: script/run_build

0 commit comments

Comments
 (0)