Add unstable ACP schema support + $/cancel_request #60
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - "README.md" | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "README.md" | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| check: | |
| name: check | |
| # Temporarily disabled Depot runner selection due connectivity issues. | |
| # Re-enable once Depot runners can reliably connect to the repository. | |
| # runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| actions: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| persist-credentials: false | |
| - name: Setup Nix | |
| uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34 | |
| - name: Cache Nix store | |
| uses: nix-community/cache-nix-action@106bba72ed8e29c8357661199511ef07790175e9 # v7.0.1 | |
| with: | |
| primary-key: nix-acp-go-sdk-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }} | |
| restore-prefixes-first-match: nix-acp-go-sdk-${{ runner.os }}- | |
| gc-max-store-size-linux: 2G | |
| purge: true | |
| purge-prefixes: nix-acp-go-sdk-${{ runner.os }}- | |
| purge-created: 0 | |
| purge-primary-key: never | |
| - name: Check formatting (treefmt) | |
| run: nix develop .# --command treefmt --fail-on-change | |
| - name: Make tests | |
| run: nix develop .# --command make test | |
| - name: Nix flake checks | |
| run: nix flake check |