Skip to content

Centralize plugin state and filesystem paths in the SDK #111

Centralize plugin state and filesystem paths in the SDK

Centralize plugin state and filesystem paths in the SDK #111

Workflow file for this run

name: qualification
on:
push:
branches: [main]
pull_request:
concurrency:
group: qualify-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
qualify:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- name: Checkout plugin
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: worktrees/graphcoder/plugin-sdk-lab
persist-credentials: false
- name: Checkout SDK
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: acyclic-labs/sdk
ref: codex/generation-reader
path: sdk
persist-credentials: false
- name: Install FUSE-T on macOS
if: runner.os == 'macOS'
shell: bash
run: |
curl --fail --location --retry 5 \
https://github.com/macos-fuse-t/fuse-t/releases/download/1.2.7/fuse-t-macos-installer-1.2.7.pkg \
--output /tmp/fuse-t.pkg
sudo installer -pkg /tmp/fuse-t.pkg -target /
- name: Install Bun
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
with:
bun-version: 1.3.14
- name: Cache immutable dependencies and build outputs
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.cargo/registry
~/.cargo/git
sdk/target-*
key: qualify-${{ matrix.os }}-${{ hashFiles('sdk/Cargo.lock', 'sdk/rust/**/*.rs', 'worktrees/graphcoder/plugin-sdk-lab/Cargo.lock', 'worktrees/graphcoder/plugin-sdk-lab/crates/**/*.rs') }}
restore-keys: |
qualify-${{ matrix.os }}-
- name: Run the shared bounded gate
shell: pwsh
run: python sdk/scripts/qualify-local.py --plugin-root worktrees/graphcoder/plugin-sdk-lab