diff --git a/.github/workflows/cffcheck.yml b/.github/workflows/cffcheck.yml index b3f5369cfe9..9bcbfc1b874 100644 --- a/.github/workflows/cffcheck.yml +++ b/.github/workflows/cffcheck.yml @@ -18,8 +18,6 @@ jobs: steps: - name: Check out a copy of the repository uses: actions/checkout@v3 - with: - fetch-depth: 1 - name: Check validity of CITATION.cff uses: citation-file-format/cffconvert-github-action@2.0.0 diff --git a/.github/workflows/docs-conda.yml b/.github/workflows/docs-conda.yml index 4b78d316adb..08efa7556a9 100644 --- a/.github/workflows/docs-conda.yml +++ b/.github/workflows/docs-conda.yml @@ -30,14 +30,11 @@ jobs: os: macOS steps: - # We check out only a limited depth and then pull tags to save time - name: Checkout source uses: actions/checkout@v3 with: - fetch-depth: 100 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-depth: 150 + fetch-tags: true - name: Install from Conda uses: ./.github/actions/install-conda diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index df3fdc7bc4d..e344c65fd43 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -41,14 +41,11 @@ jobs: doc-version: ${{ steps.build-docs.outputs.doc-version }} steps: - # We check out only a limited depth and then pull tags to save time - name: Checkout source uses: actions/checkout@v3 with: - fetch-depth: 100 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-depth: 150 + fetch-tags: true - name: Install using PyPI uses: ./.github/actions/install-pypi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7a64f45c7f..e766ba358b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 10 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-tags: true - name: Set up Python id: setup diff --git a/.github/workflows/tests-conda.yml b/.github/workflows/tests-conda.yml index 4d0de3e9d4f..27190048c31 100644 --- a/.github/workflows/tests-conda.yml +++ b/.github/workflows/tests-conda.yml @@ -32,14 +32,11 @@ jobs: os: [macOS, Windows] steps: - # We check out only a limited depth and then pull tags to save time - name: Checkout source uses: actions/checkout@v3 with: - fetch-depth: 100 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-depth: 150 + fetch-tags: true - name: Install from Conda uses: ./.github/actions/install-conda diff --git a/.github/workflows/tests-pypi.yml b/.github/workflows/tests-pypi.yml index cca74b7590c..554463d7ba9 100644 --- a/.github/workflows/tests-pypi.yml +++ b/.github/workflows/tests-pypi.yml @@ -37,14 +37,11 @@ jobs: no-extras: 'No Extras' steps: - # We check out only a limited depth and then pull tags to save time - name: Checkout source uses: actions/checkout@v3 with: - fetch-depth: 100 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-depth: 150 + fetch-tags: true - name: Generate minimum dependencies if: ${{ matrix.dep-versions == 'Minimum' }} diff --git a/.github/workflows/unstable-builds.yml b/.github/workflows/unstable-builds.yml index 978500d8d1b..18c28878b8e 100644 --- a/.github/workflows/unstable-builds.yml +++ b/.github/workflows/unstable-builds.yml @@ -16,14 +16,11 @@ jobs: outputs: result: ${{ steps.tests.outcome }} steps: - # We check out only a limited depth and then pull tags to save time - name: Checkout source uses: actions/checkout@v3 with: - fetch-depth: 100 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-depth: 150 + fetch-tags: true - name: Assemble test requirements run: | @@ -59,14 +56,11 @@ jobs: outputs: result: ${{ steps.build.outcome }} steps: - # We check out only a limited depth and then pull tags to save time - name: Checkout source uses: actions/checkout@v3 with: - fetch-depth: 100 - - - name: Get tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-depth: 150 + fetch-tags: true - name: Assemble doc requirements run: |