File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ concurrency:
1818jobs :
1919 test :
2020 name : ' Ruby: ${{ matrix.ruby }}, Rails: ${{ matrix.env.RAILS_VERSION }}'
21- runs-on : ubuntu-20.04
21+ runs-on : ' ubuntu-latest '
2222 strategy :
2323 fail-fast : false
2424 matrix :
4242
4343 legacy :
4444 name : Legacy Ruby Builds (${{ matrix.container.version }})
45- runs-on : ubuntu-20.04
45+ runs-on : ' ubuntu-latest '
4646 container :
4747 image : ${{ matrix.container.tag }}
4848 options : ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
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
You can’t perform that action at this time.
0 commit comments