diff --git a/website/src/docs/reference/schema.md b/website/src/docs/reference/schema.md index 9566ba699a..f70f336bcf 100644 --- a/website/src/docs/reference/schema.md +++ b/website/src/docs/reference/schema.md @@ -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`