From 9fc16122bb452766cb3b2e99c8c606921200d492 Mon Sep 17 00:00:00 2001 From: Maarten de Vries Date: Wed, 13 Dec 2023 17:31:13 +0100 Subject: [PATCH] Make sure all tags and branches are available in CI. --- .github/workflows/rust.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1b8f1e8..6a0db1b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -4,7 +4,9 @@ jobs: stable: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Build run: cargo +stable build --verbose - name: Run tests @@ -14,7 +16,9 @@ jobs: steps: - name: Install Rust nightly run: rustup install nightly - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Build run: cargo +nightly build --verbose - name: Run tests