From 6791187e1b812f8a23fe10e46ed4e8fbb7951199 Mon Sep 17 00:00:00 2001 From: Maksim Zdobnikau Date: Wed, 9 Oct 2024 17:18:27 +0200 Subject: [PATCH] Update CI to generate Scarb.lock instead of Scarb.toml --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fae9fe6..221d02e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: "Create bare bones Scarb.toml for cache testing" + - name: "Create bare bones Scarb.lock for cache testing" shell: bash run: | cat < Scarb.toml - [package] + # Code generated by scarb DO NOT EDIT. + version = 1 + + [[package]] name = "example_package" version = "1.0.0" EOF @@ -48,6 +51,7 @@ jobs: uses: ./ - run: scarb --version | grep "scarb ${{ steps.version.outputs.LATEST_VERSION }}" + # NOTE: This is Scarb <0.7.0, thus this test checks the `cache path` fallback logic. - name: "Setup Scarb with `scarb-version: 0.4.1`" uses: ./