Commit d44762a 1 parent 07d8c84 commit d44762a Copy full SHA for d44762a
File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
24
- - name : " Create bare bones Scarb.toml for cache testing "
24
+ - name : " Create bare bones Scarb.toml"
25
25
shell : bash
26
26
run : |
27
27
cat <<EOF > Scarb.toml
48
48
uses : ./
49
49
- run : scarb --version | grep "scarb ${{ steps.version.outputs.LATEST_VERSION }}"
50
50
51
+ - name : " Create Scarb.lock for cache testing"
52
+ run : |
53
+ scarb metadata --format-version 1
54
+ if [ -f Scarb.lock ]; then
55
+ echo "Successfully created Scarb.lock"
56
+ else
57
+ echo "Failed to create Scarb.lock"
58
+ exit 1
59
+ fi
60
+
61
+
51
62
# NOTE: This is Scarb <0.7.0, thus this test checks the `cache path` fallback logic.
52
63
- name : " Setup Scarb with `scarb-version: 0.4.1`"
53
64
uses : ./
You can’t perform that action at this time.
0 commit comments