Skip to content

Cairo 2.7.1

Cairo 2.7.1 #3617

Workflow file for this run

name: Contracts
on:
push:
branches:
- develop
- main
pull_request:
jobs:
contracts_run_ts_tests:
name: Run Typescript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Nix
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
sandbox = false
- name: Install Cairo
uses: ./.github/actions/install-cairo
- name: Test
run: nix develop -c make test-ts-contracts
contracts_run_cairo_tests:
name: Run Cairo Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Nix
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- 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