Skip to content

refactor(tck): convert contract.py aligned with new execute_validated… #1

refactor(tck): convert contract.py aligned with new execute_validated…

refactor(tck): convert contract.py aligned with new execute_validated… #1

Workflow file for this run

name: Test Github scripts
on:
push:
paths:
- '.github/scripts/**'
- '.github/workflows/test-scripts.yml'
pull_request:
paths:
- '.github/scripts/**'
- '.github/workflows/test-scripts.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
test:
# runs-on: hl-sdk-py-lin-md # Remove self-hosted for tests
runs-on: ubuntu-latest # Safer for untrusted code
permissions:
contents: read
steps:
- name: Harden the runner
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
- name: Install dependencies
run: uv sync --frozen --all-groups --all-packages --all-extras
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24'
- name: Install JS dependencies
working-directory: .github/scripts
run: npm ci
- name: Run tests
working-directory: .github/scripts
run: npm test