Skip to content

fix: e2e test dependencies (#488) #2594

fix: e2e test dependencies (#488)

fix: e2e test dependencies (#488) #2594

Workflow file for this run

name: Lint
on:
push:
branches:
- develop
- main
pull_request:
jobs:
lint_format_check:
name: Format Check
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: Install
run: nix develop -c yarn install --frozen-lockfile
# NOTE: Runs outside the nix environment because starknet-devnet still pulls in 0.x cairo which ends up taking precedence.
- name: Check Cairo
run: make format-cairo-check
- name: Check Typescript
run: nix develop -c make format-ts-check