Skip to content

chore(repo): replace stale repository URLs with canonical location (#260) #80

chore(repo): replace stale repository URLs with canonical location (#260)

chore(repo): replace stale repository URLs with canonical location (#260) #80

Workflow file for this run

name: Contract tests
on:
push:
branches: [main]
pull_request:
permissions:
# Los cuatro workflows solo leen el repo: clonan, instalan y corren
# tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets.
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
round-contract:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "contracts/round"
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Run round contract unit tests
run: cargo test -p sub-rosa-round
- name: Check ERRORS.md stays in sync with enum Error
run: node scripts/check-round-errors.mjs
- name: Run error drift script tests
run: node --test scripts/check-round-errors.test.mjs