Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
workflow_dispatch:

env:
KAPI_VERSION: "1.2.0-rc11"
KAPI_VERSION: "1.2.0-rc14"

jobs:
test-plan:
Expand All @@ -26,7 +26,7 @@ jobs:

- uses: neokapi/setup-kapi@v1
with:
version: "1.2.0-rc11"
version: "1.2.0-rc14"
plugins: ""

- name: Run plan
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

- uses: neokapi/setup-kapi@v1
with:
version: "1.2.0-rc11"
version: "1.2.0-rc14"
plugins: ""

# The fixture is deliberately untranslated: the ship gate must FAIL the
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

- uses: neokapi/setup-kapi@v1
with:
version: "1.2.0-rc11"
version: "1.2.0-rc14"
plugins: ""

- name: Gate the fixture source file
Expand All @@ -111,7 +111,7 @@ jobs:

- uses: neokapi/setup-kapi@v1
with:
version: "1.2.0-rc11"
version: "1.2.0-rc14"
plugins: ""

- name: Pseudo-translate the fixture
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ Ordinary builds never fail on target-language drift — a locale that is behind
with:
command: run
args: "translate"
project: "myproject.kapi"
project: "kapi.yaml"
paths: "src/locales/"
commit-message: "chore: update translations"
```

This runs `kapi run -p myproject.kapi translate`.
This runs `kapi run -p kapi.yaml translate`.

### Caching

Expand All @@ -175,7 +175,7 @@ The loop runs incrementally via the project's `.kapi/cache` (block store, extrac
- uses: actions/cache@v5
with:
path: .kapi/cache
key: kapi-cache-${{ hashFiles('*.kapi', 'src/locales/en/**') }}
key: kapi-cache-${{ hashFiles('kapi.yaml', 'src/locales/en/**') }}
restore-keys: kapi-cache-
```

Expand All @@ -187,7 +187,7 @@ Server-connected projects don't need this — the project state lives on the ser
|---|---|---|
| `command` | `up` | Kapi subcommand to execute |
| `args` | | Additional arguments |
| `project` | | Path to `.kapi` project file (`-p` flag) |
| `project` | | Path to the `kapi.yaml` recipe (`-p` flag) |
| `plan` | `false` | With `command: up`: dry run — pending work, TM leverage, token estimate; no writes, no provider calls |
| `fail-on-parked` | `false` | With `command: up`, fail the workflow when the run parks instead of committing partial progress |
| `commit` | `true` | Whether to commit changes |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
required: false
default: ""
project:
description: "Path to .kapi project file (-p flag)"
description: "Path to the kapi.yaml recipe (-p flag)"
required: false
default: ""
plan:
Expand Down
Loading