feat: add .tool-versions and .dvmrc support (#61)

---------

Signed-off-by: Jesse Dijkstra <mail@jessedijkstra.nl>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
This commit is contained in:
Jesse Dijkstra
2024-07-05 08:33:22 +02:00
committed by GitHub
parent 041b854f97
commit edde9366ea
7 changed files with 84 additions and 3 deletions

View File

@@ -4,6 +4,20 @@ Set up your GitHub Actions workflow with a specific version of Deno.
## Usage
### Version from file
```yaml
- uses: denoland/setup-deno@v1
with:
deno-version-file: .dvmrc
```
```yaml
- uses: denoland/setup-deno@v1
with:
deno-version-file: .tool-versions
```
### Latest stable for a major
```yaml