From 754be401a26d176c1ce0608c83bc06798b6a13f9 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Tue, 4 Mar 2025 16:03:09 +0100 Subject: [PATCH] chore: pin CRDB version on unit tests (cherry picked from commit 7cf7009a3b59c4917ec702720338bbe45d3eaf88) --- .github/workflows/build.yml | 1 + .github/workflows/core-unit-test.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac7d909589..d2748c946f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,7 @@ jobs: go_version: "1.22" core_cache_key: ${{ needs.core.outputs.cache_key }} core_cache_path: ${{ needs.core.outputs.cache_path }} + crdb_version: "v24.2.4" secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/core-unit-test.yml b/.github/workflows/core-unit-test.yml index 0b1467ff5d..990376b569 100644 --- a/.github/workflows/core-unit-test.yml +++ b/.github/workflows/core-unit-test.yml @@ -57,7 +57,7 @@ jobs: - name: test if: ${{ steps.cache.outputs.cache-hit != 'true' }} - run: make core_unit_test + run: export ZITADEL_CRDB_VERSION="${{ inputs.crdb_version }}" && make core_unit_test - name: publish coverage uses: codecov/codecov-action@v4.3.0