Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 6c09bad

Browse files
committed
Switch legacy builds to manual git
1 parent dd4880e commit 6c09bad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@ jobs:
133133
JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }}
134134
NO_COVERAGE: true
135135
steps:
136-
- uses: actions/checkout@v3
136+
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
137+
- run: git init $GITHUB_WORKSPACE
138+
- run: git remote add origin https://github.com/rspec/rspec-support
139+
- run: git config --local gc.auto 0
140+
- run: git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +$GITHUB_SHA:$GITHUB_REF
141+
- run: git checkout --progress --force $GITHUB_REF
137142
- run: ${{ matrix.container.pre }}
138143
- run: script/legacy_setup.sh
139144
- run: ${{ matrix.container.post }}

0 commit comments

Comments
 (0)