Skip to content

Commit

Permalink
Update CI to generate Scarb.lock instead of Scarb.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Oct 9, 2024
1 parent 07d8c84 commit 6791187
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > Scarb.toml
[package]
# Code generated by scarb DO NOT EDIT.
version = 1
[[package]]
name = "example_package"
version = "1.0.0"
EOF
Expand All @@ -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: ./
Expand Down

0 comments on commit 6791187

Please sign in to comment.