From 9c9935e58d8cbb03eb7d9e6dcc3b8bdbe2d46b00 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 4 Mar 2020 19:15:11 +0200 Subject: [PATCH] Switched to actions/checkout@v2 (#1482) Switch to actions/checkout@v2 which has shallow clone by default --- .github/workflows/ci.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b9efb7f6..0e5a625b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,11 +30,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - # Limit clone depth to speed up build - - uses: actions/checkout@v1 - with: - fetch-depth: 5 + - uses: actions/checkout@v2 # Install Node runtime and dependencies - uses: actions/setup-node@v1 @@ -69,11 +65,7 @@ jobs: if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - - # Limit clone depth to speed up build - - uses: actions/checkout@v1 - with: - fetch-depth: 5 + - uses: actions/checkout@v2 # Install Python runtime and dependencies - uses: actions/setup-python@v1 @@ -118,11 +110,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - # Limit clone depth to speed up build - - uses: actions/checkout@v1 - with: - fetch-depth: 5 + - uses: actions/checkout@v2 # Ensure latest build if repository is not up-to-date - run: rm -rf material