Skip to content

ci: install Flow CLI v2.7.2 via binary download to avoid go mod path … #13

ci: install Flow CLI v2.7.2 via binary download to avoid go mod path …

ci: install Flow CLI v2.7.2 via binary download to avoid go mod path … #13

Workflow file for this run

name: Cadence Tests
on:
pull_request:
branches: [ "**" ]
push:
branches: [ main, feature/liquidation-mechanism ]
jobs:
cadence-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Flow CLI v2.7.2 (matches local)
run: |
curl -sL https://github.com/onflow/flow-cli/releases/download/v2.7.2/flow-linux-amd64 -o flow
chmod +x flow
sudo mv flow /usr/local/bin/flow
flow version
- name: Cache Flow emulator data (disabled)
run: echo "We intentionally avoid caching ~/.flow to prevent state collisions between tests."
- name: Install Cadence dependencies
run: flow deps install --skip-alias --skip-deployments
- name: Make test runner executable
run: chmod +x ./run_tests.sh
- name: Run Cadence tests with runner
run: ./run_tests.sh