From d5457370ccdbc082089d2aa063408d0bcfb38572 Mon Sep 17 00:00:00 2001 From: Silvio Vasiljevic Date: Wed, 26 Aug 2026 16:27:24 +0200 Subject: [PATCH 1/2] CI: run LocalStack via lstk instead of the localstack PyPI package Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 30 ++++++++++++++++++++---------- .github/workflows/test.yml | 19 ++++++++++--------- 2 files changed, 30 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 207fa92..6ca6d43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: id-token: write env: RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.event.client_payload.version}} + LSTK_CONFIG_FILE: ${{ runner.temp }}/lstk-config.toml steps: - name: "Pull Image (localstack/localstack-pro:${{ env.RELEASE_VERSION }})" @@ -64,16 +65,26 @@ jobs: - name: "Install Project" run: make install-dev - - name: "Install LocalStack" - run: pip install localstack==${RELEASE_VERSION} + - name: "Install lstk" + run: npm install -g @localstack/lstk + + - name: "Configure lstk" + # The config pins the emulator image to the release version. It lives outside + # the workspace so the "Check Uncommitted Changes" step stays clean. + run: | + cat > "${LSTK_CONFIG_FILE}" < Date: Wed, 26 Aug 2026 16:29:32 +0200 Subject: [PATCH 2/2] Export LSTK_CONFIG_FILE via GITHUB_ENV (runner context is invalid in job env) Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ca6d43..dcd94c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,6 @@ jobs: id-token: write env: RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.event.client_payload.version}} - LSTK_CONFIG_FILE: ${{ runner.temp }}/lstk-config.toml steps: - name: "Pull Image (localstack/localstack-pro:${{ env.RELEASE_VERSION }})" @@ -72,12 +71,13 @@ jobs: # The config pins the emulator image to the release version. It lives outside # the workspace so the "Check Uncommitted Changes" step stays clean. run: | - cat > "${LSTK_CONFIG_FILE}" < "${RUNNER_TEMP}/lstk-config.toml" <> "$GITHUB_ENV" - name: "Start Localstack" env: