From 355beb332f2d16c3a5190ab7477f3b6361c12a79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Jun 2025 09:30:42 +0000 Subject: [PATCH 1/2] Bump actions/checkout from 1 to 4 in the github-actions group Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 1 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d51bcac2..c36e7306 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: name: Ubuntu 22.04 x86_64 runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: submodules: recursive @@ -91,7 +91,7 @@ jobs: pypi_arch: manylinux2014_aarch64 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: submodules: recursive @@ -142,7 +142,7 @@ jobs: wheel_arch: 11_0_arm64 runs_on: macos-14 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: submodules: recursive @@ -197,7 +197,7 @@ jobs: wheel_arch: win_amd64 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: submodules: recursive From 74dbcd121f8f21605de2bca17ccdbdfaa57e501d Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Sun, 29 Jun 2025 13:05:18 +1200 Subject: [PATCH 2/2] CI: fetch tags correctly --- .github/workflows/main.yml | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c36e7306..0d4c0cc3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,12 +18,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - - name: Get tags - run: | - git fetch --tags - echo $? - git tag --list + tags: true + fetch-depth: 0 - name: Install pip run: sudo apt-get install -y python3-pip @@ -94,12 +90,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - - name: Get tags - run: | - git fetch --tags - echo $? - git tag --list + tags: true + fetch-depth: 0 - name: Install pip run: sudo apt-get install -y python3-pip @@ -145,12 +137,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - - name: Get tags - run: | - git fetch --tags - echo $? - git tag --list + tags: true + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 @@ -200,12 +188,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - - name: Get tags - run: | - git fetch --tags - echo $? - git tag --list + tags: true + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5