Skip to content

Commit 6791187

Browse files
committed
Update CI to generate Scarb.lock instead of Scarb.toml
1 parent 07d8c84 commit 6791187

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323

24-
- name: "Create bare bones Scarb.toml for cache testing"
24+
- name: "Create bare bones Scarb.lock for cache testing"
2525
shell: bash
2626
run: |
2727
cat <<EOF > Scarb.toml
28-
[package]
28+
# Code generated by scarb DO NOT EDIT.
29+
version = 1
30+
31+
[[package]]
2932
name = "example_package"
3033
version = "1.0.0"
3134
EOF
@@ -48,6 +51,7 @@ jobs:
4851
uses: ./
4952
- run: scarb --version | grep "scarb ${{ steps.version.outputs.LATEST_VERSION }}"
5053

54+
5155
# NOTE: This is Scarb <0.7.0, thus this test checks the `cache path` fallback logic.
5256
- name: "Setup Scarb with `scarb-version: 0.4.1`"
5357
uses: ./

0 commit comments

Comments
 (0)