BCF-3299 Add contract state reader to relayer #3470
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- 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@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Install Cairo | |
uses: ./.github/actions/install-cairo | |
- name: Test | |
run: nix develop -c make test-cairo-contracts |