docs: schema: add tasks.task.method (#2718)

This commit is contained in:
Jannis
2026-03-08 11:45:27 +01:00
committed by GitHub
parent af943b064b
commit 080ee8869f

View File

@@ -543,6 +543,21 @@ tasks:
- go build ./...
```
#### `method`
- **Type**: `string`
- **Default**: `checksum`
- **Options**: `checksum`, `timestamp`, `none`
- **Description**: Method for checking if the task is up-to-date. Refer to the `method` root property for details.
```yaml
tasks:
build:
sources:
- go.mod
method: timestamp
```
#### `sources`
- **Type**: `[]string` or `[]Glob`