Skip to content

sync(bfmono): docs(gambit): add public permissions guide and API jsdo… #108

sync(bfmono): docs(gambit): add public permissions guide and API jsdo…

sync(bfmono): docs(gambit): add public permissions guide and API jsdo… #108

name: ci-gambit-core

Check failure on line 1 in .github/workflows/ci-gambit-core.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-gambit-core.yml

Invalid workflow file

(Line: 33, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 37, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 42, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 47, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace, (Line: 52, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace
on:
push:
branches: ["main", "master"]
paths:
- packages/gambit-core/**
- .github/workflows/ci-gambit-core.yml
pull_request:
branches: ["*"]
paths:
- packages/gambit-core/**
- .github/workflows/ci-gambit-core.yml
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v13
- name: Register Deno problem matcher
run: echo '::add-matcher::.github/deno-problem-matcher.json'
- name: Guard bfmono imports
run: deno run -A scripts/guard-bfmono-imports.ts
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
- name: Lint
run: deno lint
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: Format check
run: deno fmt --check
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: Type check
run: deno check --all mod.ts
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core
- name: Test
run: deno task test
shell: nix develop ${{ github.workspace }} --command bash -euo pipefail {0}
working-directory: packages/gambit-core