Skip to content

Commit 4c4b8e2

Browse files
committed
fix: correct deno-version default and valid values
Change default from invalid "stable" to valid "2.x" to match setup-deno@v2 requirements. Changes: - Update action.yml: default "stable" → "2.x" - Update README.md: fix all examples using "stable" - Update test.yml: fix version matrix - Remove invalid "rc" from documentation The "stable" keyword is not a valid value in setup-deno@v2. Valid values are semver ranges (e.g., "2.x", "2.0.0"), "canary", "lts", or Git hashes.
1 parent 6f290ce commit 4c4b8e2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
strategy:
4646
matrix:
47-
deno-version: [stable, lts]
47+
deno-version: ["2.x", lts]
4848
probitas-version: [latest]
4949
steps:
5050
- uses: actions/checkout@v4

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- uses: jsr-probitas/setup-probitas@v1
3333
with:
34-
deno-version: stable
34+
deno-version: 2.x
3535
probitas-version: latest
3636
cache: true
3737

@@ -43,7 +43,7 @@ jobs:
4343
4444
| Input | Description | Default |
4545
|-------|-------------|---------|
46-
| `deno-version` | The Deno version to install. Can be a semver version, `stable`, `lts`, `rc`, or `canary`. | `stable` |
46+
| `deno-version` | The Deno version to install. Can be a semver version (e.g., `2.0.0`, `2.x`), `canary`, `lts`, or a Git hash. | `2.x` |
4747
| `probitas-version` | The Probitas version to install from JSR. Can be a semver version or `latest`. | `latest` |
4848
| `cache` | Cache downloaded modules & packages automatically in GitHub Actions cache. | `true` |
4949
| `cache-hash` | A hash used as part of the cache key, which defaults to a hash of the deno.lock files. | - |
@@ -101,7 +101,7 @@ jobs:
101101
runs-on: ubuntu-latest
102102
strategy:
103103
matrix:
104-
deno-version: [stable, lts, "2.0.0"]
104+
deno-version: ["2.x", lts, "2.0.0"]
105105
steps:
106106
- uses: actions/checkout@v4
107107

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ branding:
77

88
inputs:
99
deno-version:
10-
description: "The Deno version to install. Can be a semver version, 'canary', 'lts', 'rc', or 'stable'."
11-
default: "stable"
10+
description: "The Deno version to install. Can be a semver version, 'canary', 'lts', or a Git hash."
11+
default: "2.x"
1212
probitas-version:
1313
description: "The Probitas version to install. Can be a semver version or 'latest'."
1414
default: "latest"

0 commit comments

Comments
 (0)