name: CI on: push: branches: [main] pull_request: jobs: lint-skills: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "lts/*" - run: npm ci - run: node --test - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.x" - name: Validate Agent Skills specification run: | python -m pip install skills-ref==0.1.1 for skill in skills/*; do agentskills validate "$skill" done sandbox-runtime: name: sandbox-runtime-${{ matrix.os }} runs-on: ${{ matrix.os }} timeout-minutes: 10 strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "20.11.1" - name: Install Linux sandbox dependencies if: runner.os == 'Linux' run: | sudo apt-get update sudo apt-get install -y bubblewrap socat ripgrep curl if sysctl -n kernel.apparmor_restrict_unprivileged_userns >/dev/null 2>&1; then sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 fi - run: npm ci - name: Run sandbox contract and real containment tests run: npm run test:sandbox env: OPP_SANDBOX_INTEGRATION: "1"