Skip to content

Commit

Permalink
update ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
augustbleeds committed Aug 30, 2024
1 parent f4ab723 commit 6b3fd7a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/actions/install-starknet-foundry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A composite action that installs the snforge and sncast binaries
inputs:
starknet_foundry_version:
description: Starknet Foundry release version
default: "0.21.0"
default: "0.27.0"
required: false

runs:
Expand All @@ -16,4 +16,3 @@ runs:
run: |
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
snfoundryup -v ${{ inputs.starknet_foundry_version }}
3 changes: 3 additions & 0 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ jobs:
- name: Install Cairo
uses: ./.github/actions/install-cairo

- name: Install Starknet Foundry
uses: ./.github/actions/install-starknet-foundry

- name: Test
run: nix develop -c make test-cairo-contracts
2 changes: 1 addition & 1 deletion contracts/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/smartcontractkit/chainlink-starknet"

[scripts]
sierra = "cairo-compile . -r"
# test = "snforge test"
test = "snforge test"
# Add your own custom commands and run them with scarb run <command>

# Uncomment if you want to use dependencies
Expand Down

0 comments on commit 6b3fd7a

Please sign in to comment.