Skip to content

Commit

Permalink
ci: Use --depth 1 for git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 27, 2023
1 parent d09f73e commit b7613db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ jobs:
working-directory: tests/fixtures/crates/bin_crate
- run: |
set -euxo pipefail
git clone https://github.com/taiki-e/easytime.git
git clone --depth 1 https://github.com/taiki-e/easytime.git
cd easytime
cargo llvm-cov test --doctests --text --fail-under-lines 30
# Test minimum runnable Cargo version.
rustup toolchain add 1.60 --no-self-update
cargo +1.60 llvm-cov test --text --fail-under-lines 30
cd ..
# Test trybuild compatibility.
git clone https://github.com/taiki-e/easy-ext.git
git clone --depth 1 https://github.com/taiki-e/easy-ext.git
cd easy-ext
cargo llvm-cov --text --test compiletest --fail-under-lines 70
if: startsWith(matrix.rust, 'nightly')
Expand Down

0 comments on commit b7613db

Please sign in to comment.